[systemd-devel] Are there repeating monotonic timers?

Wojtek Swiatek w at swtk.info
Mon Sep 3 15:43:37 UTC 2018


Le lun. 3 sept. 2018 à 17:30, Jérémy Rosen <jeremy.rosen at smile.fr> a écrit :

> You can put multiple criterion in a single .timer
>
> In your case, combining OnBootSec and OnUnitActiveSec should do what you
> want...
>
>
Thank you - that was it.

OnBootSec=60s
OnUnitActiveSec=60s

I did not realize that  OnUnitActiveSec would be triggered by the
OnBootSec-started service, and then triggered by its last run.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180903/069dedee/attachment.html>


More information about the systemd-devel mailing list