Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 59578

Crons not running

$
0
0

I wonder if someone might be able to help me..

I'm running CentOS 5.9. If I look in the cron log, I can see that the cron.hourly is being executed with run-parts every hour. Great. Now, I write a small script to run some backups and place it in there (mysqldump in a for loop and a tarsnap). It is executable by everyone and completes in a few seconds when I run it manually.

I wait a few hours and can see it hasn't been run at all since I ran it manually. I check the cron log and messages, and there's nothing in either of them, although I can see run-parts is still running every hour. I ran run-parts manually and it backs up fine.

Any ideas why it isn't running automatically every hour?


Viewing all articles
Browse latest Browse all 59578

Trending Articles