DEV Community

Cover image for Why I prefer systemd Timers
Boudaakkar Nazih
Boudaakkar Nazih

Posted on

Why I prefer systemd Timers

Most users would schedule their tasks using a cronjob, and that's perfectly reasonable.

Cronjobs are essentially used for scheduling tasks at certain intervals or exact time(s).

But what happens when the machine goes down at 00:00? or something even more probable, cron's systemd unit (like cronie) stops or does not start because someone forgot to (re)enable it.

Answer: The job never runs

In this linked blog post, I explain why I prefer using systemd timers in such business critical situations

Have a great one.

Top comments (0)