Re: Are there repeating monotonic timers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

--
SMILE

20 rue des Jardins
92600 Asnières-sur-Seine

Jérémy ROSEN
Architecte technique
Responsable de l'expertise Smile-ECS


Twitter Facebook LinkedIn Github

Découvrez l’univers Smile, rendez-vous sur
                smile.eu

eco Pour la planète, n'imprimez ce mail que si c'est nécessaire
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux