[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: anacron does not run cron.daily reliably



On 2014-12-05 23:24 +0100, Rainer Dorsch wrote:

> I have one machine here on which cron.daily is not run reliably with anacron. 
>
> I see in
>
> rd@blackbox:~/Managed/LinuxInst$ grep cron.daily /var/log/syslog
> Dec  1 22:55:11 blackbox anacron[14161]: Job `cron.daily' terminated (mailing 
> output)
> rd@blackbox:~/Managed/LinuxInst$ 
>
> i.e. it run last time 4 days ago.
>
> I got
>
> blackbox:~# systemctl status anacron.service
> ● anacron.service - Run anacron jobs
>    Loaded: loaded (/lib/systemd/system/anacron.service; enabled)
>    Active: inactive (dead) since Mo 2014-12-01 22:55:22 CET; 4 days ago
>  Main PID: 14161 (code=exited, status=0/SUCCESS)
> blackbox:~# 
>
> I have systems on which this setup seems to work nicely. Although the system 
> runs Debian for a long time and has seen a few Debian upgrades, I am not aware 
> that I did anacron related changes on this system.

For anacron to be restarted on a daily basis you need to have cron
installed, but even this might not be sufficient if your system is in
suspended state at 7:30 AM.  See https://bugs.debian.org/744753.

Cheers,
       Sven


Reply to: