[prev in list] [next in list] [prev in thread] [next in thread]
List: systemd-devel
Subject: Re: [systemd-devel] OnCalendar every X minutes
From: Lennart Poettering <lennart () poettering ! net>
Date: 2015-04-02 8:39:31
Message-ID: 20150402083931.GD29671 () gardel-login
[Download RAW message or body]
On Mon, 30.03.15 01:12, Mirco Tischler (mt-ml@gmx.de) wrote:
> However there's one difference between these relative triggers and
> OnCalendar: you can only use Persistent= in combination with
> OnCalendar. This means that if your timer elapses in 5 minutes and you
> suspend your machine for an hour or so, after resume it still elapses
> in 5 minutes.
To clarify: Persietent= only matters for full system reboots, it has
no effect on suspend/resume cycles.
What you are asking for are basically .timer triggers for
CLOCK_BOOTTIME rather than CLOCK_MONOTONIC. This is something we could
certainly support, hence I added this to th TODO list now.
Traditionally CLOCK_BOOTTIME didn't support timerfd(), but that
limitation has been lifted on newer kernerls AFAIR, hence we could add
this relatively easily.
Lennart
--
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic