Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Aug 2004
    Location
    Nashville
    Posts
    202
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Where To Start - Cron Not Working

    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

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    I can't get cron to start working again. Any suggestions?
    Aren't you getting any error from cron daemon ?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •