[question] How to check that systemd.timer didn't do his job in a specific time ?

asked 2016-04-03 10:42:14 +0200

Schturman gravatar image

Hi.
I know it was a few threads about timer and I already read them..

https://together.jolla.com/question/125672/question-what-better-to-use-sleep-command-or-timer/
https://together.jolla.com/question/56581/systemdtimer-not-fireing-when-time-elapses-and-phone-in-deep-sleep-use-timedclient-qt5-instead/
https://together.jolla.com/question/54271/timer-slows-down-when-screen-is-off/

But didn't find answer to my question...
Commands like this:

systemctl status mytimer.timer -l
systemctl --fail

didn't show me any errors or any info about missed time.
And yes, I don't want to use timedclient-qt5 or cron instead timer...

Can I somehow detect/check that timer missed his job in a specific time ?
Thanks

edit retag flag offensive close delete

Comments

1

I want to find out that myself, just haven't found time & motivation yet. My approach would be to simply write to a log file, time + msg.

lakutalo ( 2016-04-03 11:34:07 +0200 )edit

also thinking about this... But hope it possible by simple checking command, to know exactly when it didn't do his job, especially if timer have a few time points...

Schturman ( 2016-04-03 12:07:38 +0200 )edit