Re: Incorrect systemd timer


JH
 

I changed OnCalendar=*-*-* *:*:50, in vain

On 9/27/21, Jupiter <jupiter.hce@...> wrote:
Hi,

I set up a service timer to run the service every minute at times
01:10:50, 01:10:50, 01:10:50, ...

[Unit]
Description=Run watchdog job at every 1 minute
[Timer]
Unit=mwatchdog.service
OnCalendar=*-*-* *:00:50
Persistent=true
[Install]
WantedBy=timers.target

But the timer was actually fired about every 8 - 9 seconds:

Mon Sep 27 01:10:06 UTC 2021 start timer
Mon Sep 27 01:10:15 UTC 2021 start timer
Mon Sep 27 01:10:23 UTC 2021 start timer

Not quite sure if it is a kernel issue or Yocto oe-core build issue or
what I could be missing, appreciate your advice.

Thank you.

Kind regards,

- jupiter
--
"A man can fail many times, but he isn't a failure until he begins to
blame somebody else."
-- John Burroughs

Join yocto@lists.yoctoproject.org to automatically receive all group messages.