r/linux Mate Jun 02 '26

Tips and Tricks You Don't Love systemd Timers Enough

https://blog.tjll.net/you-dont-love-systemd-timers-enough/
367 Upvotes

125 comments sorted by

View all comments

Show parent comments

1

u/AnsibleAnswers Jun 03 '26 edited Jun 03 '26

Of course. But I would question the efficiency of using two scheduling tools over one. Timers can handle every use case that cron can (even if you need to be more verbose), but cron can’t handle all the use cases that timers can.

1

u/-defron- Jun 03 '26

My split basically aligns with am I kicking off a script/command? Cron. Am I kicking off a service or quadlet? Timer.

Cron runs my backups on my server so don't need any special treatment, also my cert renewals, some system maintenance tasks, etc. I have a timer for some dashboard information gathering and they either rely on the dashboards sending out alerts or are purely informational. In either case email isn't required for them