It seems that the version of systemd in F20 doesn't have the "systemctl list-timers" option which makes interrogating timers more difficult.
I need a timer that runs daily (with certain prerequisites) but I'm not having any luck.
Here's my timer unit:
[Unit]
Description=Timer for the JSON based schedule grabber for MythTV
[Timer]
#_OnCalendar_=*-*-* 00:00:00
#_OnCalendar_=daily
_OnUnitActiveSec_=1d
[Install]
WantedBy=network-online.target
--- end ---
I've tried all 3 of the timer settings above but unless I'm interpreting things incorrectly (could be the case), none of them seem to work. If I use "systemctl show" to get what information I can I see the following:
For _OnCalendar_=daily (or the the equivalent one above it) I get this:
NextElapseUSecMonotonic=0
NextElapseUSecRealtime=44y 11month 4w 1d 10h 30min
For the OnUnitActiveSec version I get this:
NextElapseUSecMonotonic=1w 2d 23h 6.227254s
NextElapseUSecRealtime=0
Neither of those look anything close to 24 hours, though I suppose the 1w one is the closest :)
What am I doing wrong?
Thanks,
Richard
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct