Re: [OE-core] Incorrect systemd timer


Khem Raj
 

On 9/26/21 6:29 PM, JH 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
perhaps use
OnCalendar=*-*-* *:*:00



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

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