Marc Haber <[email protected]> writes:
> On Thu, Jan 02, 2014 at 11:53:06AM +0100, Ansgar Burchardt wrote:
>> anacron only recommends cron. exim4 is the only package preventing me
>> from removing cron from my desktop system.
>
> Out of curiosity, how is anacron invoked if not from cron?

At system startup via the init script (or systemd service or upstart
job) or using systemd timers (tough this isn't shipped with the anacron
package).

systemd itself ships systemd-tmpfiles-clean.timer which runs a daily
job, similar to how anacron itself works:

+-----
| [Unit]
| Description=Daily Cleanup of Temporary Directories
| Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
|
| [Timer]
| OnBootSec=15min
| OnUnitActiveSec=1d
+----[file:///lib/systemd/system/systemd-tmpfiles-clean.timer]

Ansgar


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

Reply via email to