Submitted by support0 on Sat, 02/04/2012 - 13:44
I have
wget -q http://mobilek16.net/apps/scripts/alt_school_mgr/cron/main.php?mk16_dist...@mobilek16.com&Bcc=support@dallasray.com
and
lynx -source http://mobilek16.net/apps/scripts/alt_school_mgr/cron/main.php?mk16_dist...@mobilek16.com&Bcc=support@dallasray.com
set to fire hourly
They used to work (either one of them) but the stopped!
I have tried deleting the jobs and recreating them but they still do not fire.
If I just copy and paste the url into my browser, then scripts run and, in this case, send the appropriate email from the php script.
Status:
Closed (fixed)
Comments
Submitted by andreychek on Sat, 02/04/2012 - 14:04 Comment #1
Are you getting any sort of error via email? Anytime a cron job generates output, it should email the Virtual Server owner with that output.
However, it looks like there are characters in the URL that could cause problems when processed by the shell... you may want to wrap the URL in single quotes.
That is, something like this:
wget -q 'http://domain.tld?foo'
Submitted by support0 on Sun, 02/05/2012 - 13:36 Comment #2
The quotes worked! Thx!
Submitted by andreychek on Sun, 02/05/2012 - 13:43 Comment #3
Super, I'm glad that worked!