...

View Full Version : Where To Start - Cron Not Working



macmonkey
10-07-2009, 03:40 PM
I didn't see a more appropriate forum for this question but...

About 6 months ago all of my scripts fired by cron on my dedicated Linux (FC4) box simply stopped running. I've don a ton of googling and really been chasing this issue casually for the past few weeks but after trying a few things including a simple reboot - I can't get cron to start working again. Any suggestions?

Thanks

abduraooft
10-07-2009, 04:04 PM
I can't get cron to start working again. Any suggestions?Aren't you getting any error from cron daemon ?

bcarl314
10-08-2009, 12:28 AM
A couple trouble shooting questions...

First, is crond enabled?

$> chkconfig --list | grep "cron"

If so, is your user in /etc/cron.allow or in /etc/cron.deny ?

Finally, are you sure it's not running? I've had script errors in cron scripts that didn't output anything letting me know. A good cron entry will always direct output somewhere...

* * * * * /path/to/script.bash > /tmp/good.txt 2> /tmp/bad.txt



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum