Post #1498421
2024-11-12 08:09 UTC
Previously, when this happens the service would be reactivated immediately again once it terminates, ensuring that whenever the calendar expression elapses it is followed by at least one activation, executed eventually. (In the special case that the calendar elapses many times while the timer's service is still running, the service would be reactivated only once though).
With v257 there's a new option that allows modifying behaviour when this case happens:
Replies (2)
-
@pid_eins@mastodon.social 2024-11-12 08:11
DeferReactivation= is a new boolean option you can set on a timer unit. If you enable it, and a calendar timer elapses while the service is still running this is ignored. Reactivation only takes place once the timer unit elapses after the service was deactivated again. And that's it. A small knob, but quite useful to avoid constant immediate reactivation of timers if the services they activate take too long to finish.
-
@fluchtkapsel@nerdculture.de 2024-11-12 08:47
@pid_eins Will this be in v258 or v257?