Web lists-archives.com

Re: systemd+anacron breaks cron jobs?

On Monday, December 3, 2018 at 1:30:07 PM UTC+5:30, Kamil Jońca wrote:
> I have in my /etc/cron.daily some local scripts.
> Some of them can be occassionally time-consuming.
> Recently I found that some of them did not end.
> And what I found:
> 1. as "everybody" knows, in case of anacron presence, system cron jobs
> are delegated to anacron.
> 2. recently in Debian we have anacron.timer which also runs "cron.daily"
>    entry.
> 3. there is a timeout in systemd services which cause to kill my jobs :(
> So my question is: is it safe to remove/disable anacron timer?

Best bet is switch to using systemd timers