On 2011-11-13 01:29, Michael Tomkins wrote: > Package: cron > Version: 3.0pl1-120 > Severity: important > > Dear Maintainer, > > * What led up to the situation? > > Noticed that weekly Analog run via cron.weekly was about 4 weeks > old. This was prior to a apt-get upgrade. Upgrade broke something.
anacron hasn't changed in ages, and the last cron upload was 2 months ago, so at the moment, I have no idea what could have gone wrong. What do the log files say? Did other (non-anacron) jobs run successfully)? Are there any failure messages for anacron? > Checked anacron and looked at logic. Anacron appears to remove itself > from running processes after running once. This is by design. anacron is not a daemon, it is supposed to be started by cron. > Cron checks for anacron and if executable then doesn't run daily, > weekly or monthly. But anacron is not resident and only runs when > daily, weekly or monthly cron runs. This circular logic means that > daily, weekly or monthly will never run. You are overlooking the script anacron installs to /etc/cron.d. It is run on a daily basis, which means that all the jobs that cron is skipping in /etc/cron.{daily,weekly,monthly} are executed by anacron. Christian
signature.asc
Description: OpenPGP digital signature