Skip to content

Comment on Show HN: Highlander – Stop Overlapping Python Cron Jobs

Comments

On systemd systems there's an easier alternative to this. You can use the per-user systemd instance (systemctl --user) to install a .timer that activates a .service file. If the .service is still running when the .timer next fires, it will not be started again. Systemd is pretty good at this kind of bookkeeping.

This really isn't meant as piling on systemd - please don't read it that way!

But, has systemd now replaced cron too?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.