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

Bug#922862: Please add a test for packages that are shipping a cron script/config file and not a .timer



Laurent Bigonville <bigon@debian.org> writes:

> So my idea was, we can either force the installation of anacron again (I
> wonder if we shouldn't do that for buster anyway) or we go forward and
> we move to use systemd timers instead of cron (which allows proper
> process tracking just like any other service).

No objections to adding an experimental tag to track this, but just to
warn (mostly for the record in the bug): converting a cron job to a
systemd timer is not trivial, nor is providing the logic that ensures the
job then doesn't run twice (since the cron job can't be removed because
the host may not be using systemd).  We don't have good helpers for this
yet, so it requires some careful thought to make this work properly.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: