systemctl status mytimer.timer
Tells me since when it is active and when the next trigger is due. How can I get a list of when the timer triggered in the past?
systemdsystemd-timer
systemctl status mytimer.timer
Tells me since when it is active and when the next trigger is due. How can I get a list of when the timer triggered in the past?
Best Answer
List timers, and show journal for the journal/log unit history:
Output:
Some other helpful flags:
--since
starting time to current--until
used with since will get a time range--reverse
show newest first--grep
grep the message for a patternThe other flags of interest for getting just the time would be using the
--output
flag, along with the--output-field
flag, f