severity 323710 wishlist
retitle 323710 Better cron - anacron interaction
thanks

Hello,

Joel Barker wrote:
> When anacron is installed but disabled (ie, no symlink exists in /etc/rc?.d), 
> then cron will fail to run the cronjobs in /etc/cron.{daily,weekly,monthly}. 
> This is because the default /etc/crontab file has lines such as the 
> following:
> 
> 25 6    * * *   root    test -x /usr/sbin/anacron || run-parts 
> --report /etc/cron.daily
> 
> The above line checks whether anacron is executable; if so, it skips running 
> the jobs in /etc/cron.daily, EVEN IF anacron is not running and not scheduled 

I'm with Pascal here: there is no apparent use-case where you'd want to
have anacron installed, but disabled.

Also, /usr/share/doc/cron/README.anacron has always stated that when
both anacron and cron are installed, anacron is responsible for running
/etc/cron.d. This is therefore not a bug.

I'm leaving it open as a wishlist item, just in case a better solution
should develop over time.


Christian


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to