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

Re: do packages depend on lexical order or {daily,weekly,monthly} cron jobs?



On Tue, 06 Aug 2019 at 16:58:31 +0100, Ian Jackson wrote:
> The Debian systemd maintainers are of course free to enable
> parallelism for systemd users;

Trying to make this point more clearly because you seem to be confusing
systemd with systemd-cron:

Whether to run cron jobs in lexical order or in parallel is not a systemd
decision, because systemd does not read or understand cron jobs. The
component that reads and interprets cron jobs and has a feature request
involving potentially running {daily,etc.} cron jobs in parallel is
systemd-cron, a third-party project that translates cron jobs into
systemd units.

systemd is entirely capable of running Vixie cron as a daemon (as is done
in default installations of stretch and buster), or running cronie as
a daemon. systemd-cron is an alternative to those, using systemd rather
than a separate daemon as the long-running component that waits for the
right time.

If there are flaws in how systemd-cron translates cron jobs into systemd
units, then those are bugs to be fixed in systemd-cron, not in systemd.

(In other words, this is one of those systems involving composing smaller
modules that people sometimes say systemd opposes or makes impossible.)

    smcv


Reply to: