* Incorrect systemd timer
@ 2021-09-27 1:29 Jupiter
2021-09-27 2:06 ` Jupiter
2021-09-27 15:52 ` [OE-core] " Khem Raj
0 siblings, 2 replies; 4+ messages in thread
From: Jupiter @ 2021-09-27 1:29 UTC (permalink / raw)
To: yocto; +Cc: OE
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Incorrect systemd timer
2021-09-27 1:29 Incorrect systemd timer Jupiter
@ 2021-09-27 2:06 ` Jupiter
2021-09-27 15:52 ` [OE-core] " Khem Raj
1 sibling, 0 replies; 4+ messages in thread
From: Jupiter @ 2021-09-27 2:06 UTC (permalink / raw)
To: yocto; +Cc: OE
I changed OnCalendar=*-*-* *:*:50, in vain
On 9/27/21, Jupiter <jupiter.hce@gmail.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] Incorrect systemd timer
2021-09-27 1:29 Incorrect systemd timer Jupiter
2021-09-27 2:06 ` Jupiter
@ 2021-09-27 15:52 ` Khem Raj
2021-09-28 1:43 ` Jupiter
1 sibling, 1 reply; 4+ messages in thread
From: Khem Raj @ 2021-09-27 15:52 UTC (permalink / raw)
To: JH, yocto; +Cc: OE
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
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#156371): https://lists.openembedded.org/g/openembedded-core/message/156371
> Mute This Topic: https://lists.openembedded.org/mt/85891446/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-09-28 1:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-27 1:29 Incorrect systemd timer Jupiter
2021-09-27 2:06 ` Jupiter
2021-09-27 15:52 ` [OE-core] " Khem Raj
2021-09-28 1:43 ` Jupiter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox