Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #263718

Re: Systemd timer and sleeping laptop

From Erwan David <erwan@rail.eu.org>
Newsgroups linux.debian.user
Subject Re: Systemd timer and sleeping laptop
Date 2023-11-20 14:10 +0100
Message-ID <HCcch-6Khe-7@gated-at.bofh.it> (permalink)
References <HCbgd-6JIU-17@gated-at.bofh.it> <HCbzz-6JPh-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 20/11/2023 à 13:10, Greg Wooledge a écrit :
> On Mon, Nov 20, 2023 at 12:48:24PM +0100, Erwan David wrote:
>> What happens when a timer should have been triggered at a time the computer
>> was sleeping ?
> systemd.timer(5):
>
>         OnCalendar=
>             [...]
>             When a system is temporarily put to sleep (i.e. system suspend or
>             hibernation) the realtime clock does not pause. When a calendar
>             timer elapses while the system is sleeping it will not be acted on
>             immediately, but once the system is later resumed it will catch up
>             and process all timers that triggered while the system was
>             sleeping. Note that if a calendar timer elapsed more than once
>             while the system was continously sleeping the timer will only
>             result in a single service activation.
>
>
Thanks, I was looking at the wrong place.

-- 
Erwan David

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Systemd timer and sleeping laptop Erwan David <erwan@rail.eu.org> - 2023-11-20 13:10 +0100
  Re: Systemd timer and sleeping laptop Greg Wooledge <greg@wooledge.org> - 2023-11-20 13:30 +0100
    Re: Systemd timer and sleeping laptop Erwan David <erwan@rail.eu.org> - 2023-11-20 14:10 +0100
    Re: Systemd timer and sleeping laptop Cindy Sue Causey <butterflybytes@gmail.com> - 2023-11-20 14:50 +0100
      Re: Systemd timer and sleeping laptop Greg Wooledge <greg@wooledge.org> - 2023-11-20 15:10 +0100
      Re: Systemd timer and sleeping laptop David Wright <deblis@lionunicorn.co.uk> - 2023-11-21 05:10 +0100

csiph-web