Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ Strange problem with cron

Posted by: cormanaz Jun 3 2008, 04:18 PM

I've got a cron job that is behaving strangely. The crontab entry is:

* */6 * * * /root/blogmon/ 2>&1 >> /var/log/readfeeds.log

permissions on the .pl file are set to 755 and the script runs fine from the command line. When I update the crontab it waits until the proper 6 hour interval then runs the script, but then the cron log shows that it continues to run it once every minute for the next hour. As far as I can tell the script is running fine, and /var/log/readfeeds.log is empty. Anyone know what could cause this?



Posted by: cormanaz Jun 3 2008, 04:45 PM

Duh. This was an MSO (machine smarter than operator) problem. I did not set a minute on the crontab line, so it did what I told it: Ran every minute of every sixth hour.

Powered by Invision Power Board (
© Invision Power Services (