You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just been bitten by this bug in cron which causes it not to load any crontab entries if the mtime of /etc/crontab and /var/spool/crontab are both 0:
It's the sort of logic bug which I can easily imagine existing in other software too - is it worth setting the mtime to 1 instead of 0, or is there a particular reason why 0 is important?
The text was updated successfully, but these errors were encountered:
I've just been bitten by this bug in cron which causes it not to load any crontab entries if the mtime of /etc/crontab and /var/spool/crontab are both 0:
Ah, ouch. You might consider using systemd timers instead FWIW.
is it worth setting the mtime to 1 instead of 0, or is there a particular reason why 0 is important?
We had to pick a value. I don't think we can really easily change it now.
I've just been bitten by this bug in cron which causes it not to load any crontab entries if the mtime of
/etc/crontab
and/var/spool/crontab
are both 0:https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1773229
It's the sort of logic bug which I can easily imagine existing in other software too - is it worth setting the mtime to 1 instead of 0, or is there a particular reason why 0 is important?
The text was updated successfully, but these errors were encountered: