On Tue, 28 Oct 2014 12:15:06 +0100 Josselin Mouette <[email protected]>
wrote:
> 
> Hi,

Hello Joss,
 
> when started with the systemd unit, anacron runs correctly… once. It 
> waits for the first batch of scheduled jobs (usually cron.daily), 
> executes it, then exits.
> 
> $ systemctl status anacron
> anacron.service - Run anacron jobs
>    Loaded: loaded (/lib/systemd/system/anacron.service; enabled)
>    Active: inactive (dead) since mar. 2014-10-28 07:40:39 CET; 4h
> 12min ago Process: 6856 ExecStart=/usr/sbin/anacron -dsq
> (code=exited, status=0/SUCCESS) Main PID: 6856 (code=exited,
> status=0/SUCCESS) CGroup: /system.slice/anacron.service

I'm not sure about this actually.

Only daily, weekly and monthly jobs are supposed to be run via anacron
(anacron being triggered once a day at 7:30am or on resume after
suspend). Hourly jobs are still started by cron.

So 4h is not enough to trigger a 2nd anacron run.

Or did I misunderstood something?

Cheers,

Laurent Bigonville


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to