by kd913 · 5y ago · 0 comments
Well, for one thing, here are 4 completely new concepts that I don’t particularly want to bother with.
I just want to run a command every minute. I don’t want to learn about unit, timer or event files and the differences between them.
Sure, you have to learn the system's particulars and both systems have corner cases that seem to pop up in even the simplest of uses
...however, cronjobs are a single entry in a single application. Systemd is a system backbone. Using it for everything when you know how to use it is straightforward. Almost no one knows how to use it.
Not as many people know how to use it because they keep hearing this bashing.
But for a beginner systemd is quite accessible (if you don’t come at it with init.d baggage), and its advanced features almost always end up being relevant for its basic tasks.
I had to figure it out from scratch on a server running live, and I’m alive to tell the tale.
Another systemd "change for change's sake" argument.
I would set up a service for something that needs to be more robust and complex.
If not, I think your comment is pretty irrelevant since there are still scenarios where you'd need to use cron.
I can use them as a user and non-root, I get to use journalctl and systemd status to check if it ran. The timers run independently of others and the timers are in English.
If you are using Devuan or something weird like that then sure, but nearly every other way I find systemd-timers better especially for debugability.
That comment rubs me the wrong way. To mirror the sibling, there's a lot outside the Linux+SystemD world - even your firewall probably doesn't use systemd (or linux for that matter, if you're in a professional environment), and neither does Alpine, that runs docker containers. (And love it or hate it, docker is in a lot of commercial production stuff.)
"There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy."
And Debian isn't exactly "weird".
Technically yes, but I expect that Illumos is more relevant
A bit error prone perhaps, but that is why you have crontab.guru.