cron forgets to run user jobs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cron (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cron
On Lucid, users' cron jobs will just suddenly stop executing. A user can simply resubmit their crontab (i.e. crontab -e, make a trivial change, then save) and cron will start executing it again.
Witness:
# (grep CRON /var/log/syslog; zgrep CRON /var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
/var/log/
As you can see, there are jobs which are supposed to run every hour but the last time they were run was a week ago.
And now have the user make a trivial change like just changing the time that fetchmail job runs from 3 minutes after every hour to 4 minutes and like magic, it starts executing again:
Apr 10 10:04:01 linux CRON[4814]: (brian) CMD (fetchmail ...)
Note that this only affects non-root user crontabs. root crontabs continue to run, or I would have noticed this more immediately. :-)
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cron 3.0pl1-106ubuntu5
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Sun Apr 10 09:54:47 2011
ProcEnviron:
LANG=en_CA.UTF-8
SHELL=/bin/bash
SourcePackage: cron
With "root" crontabs (as opposed to "non-root"), do you mean the system crontabs /etc/crontab and /etc/cron.d, or root's actual crontab (via crontab -e as root)?
Is there any possibility of the crontabs temporarily disappearing (eg: remote filesystem)?