A better way to express systemd timer than this?

[Timer]
OnCalendar=10,11,12,13,14,15,16,17,18,19,20,21,22,23:0,20,40

Posted Apr 4, 2020, 11:32 AM UTC

14

OnCalendar=10..23:0/20

2
noooitOP•

thanks, it works!
EDIT: maybe not it says 9h left

1

Just FYI: You can use systemd-analyze calendar to analyze such a string. E.g.

systemd-analyze calendar --iterations=10 '10..23:0/20'

will show the next 10 times when a timer with that string would run.

1
noooitOP•

oh yeah. it says 9min left. maybe i've checked it too early.

1