[systemd-devel] Are there repeating monotonic timers?
Jérémy Rosen
jeremy.rosen at smile.fr
Mon Sep 3 15:30:08 UTC 2018
You can put multiple criterion in a single .timer
In your case, combining OnBootSec and OnUnitActiveSec should do what you
want...
HTH
Jeremy
On 03/09/2018 17:28, Wojtek Swiatek wrote:
> Hello everyone
>
> I would like to have a timer which runs every 60 seconds after the machine
> is booted.
> I thought that OnBootSec would be the right parameter but this is s a one
> shot call - it starts 60 seconds after the boot and then the service is
> done (does not restart ever)
>
> Is there a way to start a service every 60 seconds (this is an example),
> short of using OnCalendar and fixed times (including /x notation, but then
> end up at fixed dates/times anyway)?
>
> Thanks
>
>
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
SMILE <http://www.smile.eu/>
20 rue des Jardins
92600 Asnières-sur-Seine
*Jérémy ROSEN*
Architecte technique
Responsable de l'expertise Smile-ECS
email jeremy.rosen at smile.fr <mailto:jeremy.rosen at smile.fr>
phone +33141402967
url http://www.smile.eu
Twitter <https://twitter.com/GroupeSmile> Facebook
<https://www.facebook.com/smileopensource> LinkedIn
<https://www.linkedin.com/company/smile> Github
<https://github.com/Smile-SA>
Découvrez l’univers Smile, rendez-vous sur smile.eu
<http://smile.eu/?utm_source=signature&utm_medium=email&utm_campaign=signature>
eco Pour la planète, n'imprimez ce mail que si c'est nécessaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180903/2ef1efdf/attachment.html>
More information about the systemd-devel
mailing list