Cron Problems 404 errors

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
Right Wing Liberal
Forum Newbie
Posts: 3
Joined: Sat Dec 27, 2008 11:04 am

Cron Problems 404 errors

Post by Right Wing Liberal »

Hi all and Happy New Year,

I have a small problem with a system that i'm trying to automate through cron. I have a number of scripts which must be automated to run a certain times. I have used a crontab to do this and most of them are working but there are a number which are not. These are in the exact same format (in fact they are the same file in a different folder.) and I am using the same command. The crontab file looks like this

Code: Select all

 
MAILTO=myemail@address.com
13,28,43,58 * * * * wget http://mysite.com/station_data/ballinas ... arser1.php
13,28,43,58 * * * * wget http://mysite.com/station_data/roches_p ... arser1.php (*)
14,29,44,59 * * * * wget http://mysite.com/station_data/watergra ... arser1.php (*)
14,29,44,59 * * * * wget http://mysite.com/station_data/kildimo/ ... arser1.php 
14,29,44,59 * * * * wget http://mysite.com/station_data/dungarva ... arser1.php 
*/15 * * * * php /home/username/www/image_compare3.php http://www.met.ie/weathermaps/latest_radar.gif result.gif
02,16,31,46 * * * * php /home/username/www/front_finder.php result.gif
0 * * * * rm /home/username/weather_data_parser1.*
03,17,32,47 * * * * lynx -dump http://mysite.com/sms_msg.php (*)
0 * * * * rm /home/username/sms_msg.*
 
The commands marked with (*) are the ones that are returning 404 errors (the (*) is not in the file). Changing the command from wget to lynx or php or visa versa makes no difference and the commands work in an ssh session or if i access the files through a browser. Any ideas? I'm completely baffled. Sorry if this isn't very clear but i'm not sure how to explain it any better. Thanks in advance.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Cron Problems 404 errors

Post by John Cartwright »

They are all returning 404's for me :?
Post Reply