
March 22nd, 2012, 10:30 AM
|
|
Contributing User
|
|
Join Date: Mar 2004
Posts: 158
 
Time spent in forums: 1 Day 10 h 15 sec
Reputation Power: 10
|
|
|
Unscheduled cron job running with no record
Hello,
I've been digging through the tubes and pipes of the internet to try to find an answer, but haven't had any luck.
My server is Ubuntu 10.04 64bit, fully up to date.
The problem is that a cron job is running when it's not scheduled to. It's supposed to run on the first of the month, but it's been running on the 20th as well.
The line for it in the root (and only) crontab is:
00 07 1 * * php -f /var/w...
All other cronjobs run at their assigned schedules.
I first checked the system/software date and hwclock to see how far out of sync they were. The hwclock was 5 days behind, so I set it using
hwclock --systohc
which corrected the hwclock, but that didn't help. The cron still ran on the wrong day. Interestingly, the date it ran was 5 days later than the (incorrect) date it ran on in the previous month, which was the 15th.
Also, there is no log of it running in /var/log/syslog. All other cronjobs are logged there, though. The job sends me a spreadsheet report, so I always have a record of when it runs. To make sure, I grepped all in /var/log to see if it turned up somewhere else - it didn't.
Thanks everyone. This is driving me nuts!
Mike
|