systemd timers (the new cron)


You have a system everyone understands, is stable and well documented. You believe you could make a better system, so what do you do? Create one! Now, you have TWO systems that are to be installed, documented and learned 🤦 Oh well, with that out of my system, let's talk about systemd's cron replacement: timers.

View all timers

$ systemctl list-timers --all
my.timer

View timer definition

$ systemctl show my.timer

This shows the calculated values, but only viewing the actual file that someone has written makes it all make sense (at least to me):

$ cat /lib/systemd/system/my.timer

Licensed under CC BY Creative Commons License ~ ✉ torstein.k.johansen @ gmail ~ 🐘 @skybert@hachyderm.io ~ 🐦 @torsteinkrause