[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q: systemd-timer vs cron

Am 14.03.22 um 16:28 schrieb Colin Watson:
On Mon, Mar 14, 2022 at 09:29:56AM +0800, Paul Wise wrote:
On Sun, 2022-03-13 at 18:02 +0100, Christian Kastner wrote:
I don't think that's a very constructive line of argument. As a former
maintainer, it was evident that user crontabs (crontab -e) are still
very popular, as are some other perhaps niche features, and I've never
had the impression that anti-systemd has anything to do with it.

As a systemd user who has a large user crontab I have to agree.

I'd like to migrate to systemd timers, but there are a few blockers:

Also systemd timers require a session to be running, so as I understand
it you have to configure lingering (loginctl enable-linger) for users
who want to use per-user timers

I'd agree here. user crontabs are such a niche case where systemd's own facilities don't provide a direct replacement.

That said, my main point was about packages shipping cron files.
As a distro we'd benefit if those shipped native systemd timers (instead or in addition). I don't think we have any packages in the archive that make direct use of user crontabs?

If all packages shipped native systemd timers I could envision that at some point it would make sense to stop installing cron by default and users that need or want user crontab can just run apt install cron.


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply to: