The timer functionality of systemd includes monotonic timers, which measure time in real uptime since some starting point after boot. This means that after a boot, the service triggered by the timer is started and then the timer fires according to some predefined conditions based on actual uptime, i.e., excluding suspend episodes.

Is it possible to have a monotonic timer that not only crosses suspend episodes, but also actual downtime, so crosses reboots?


No, currently this is not possible. A feature request has been filed: https://github.com/systemd/systemd/issues/3107

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.