We help IT Professionals succeed at work.

Cron not running wget

paulp75
paulp75 asked
on
Medium Priority
755 Views
Last Modified: 2012-05-07
I am trying to get this to work and have tried in cpanel in a sub account and it didnt run
and then tried logging in to ssh and changing the root cron, and it didnt run.

/usr/local/bin/wget http://domain.com/processorders/processing8356
for some reason I dont receive the email that the script is meant to send. Wierd.
Anyone got any suggestions I could try.
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
debug it line by line.
have it run one line of the script, check if that works, then the next.

It might be that the user that is running the cronjob does not have the right to use wget?

Author

Commented:
Cron had stopped on the server, so they needed to restart it, and they gave a good suggestion to alternate code. thanks
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.