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

Bug#923014: Add systemd unit - allow usage without cron installed



On Thu, Nov 17, 2022 at 09:37:27AM +0800, Paul Wise wrote:

> On Wed, 2022-11-16 at 19:00 +0100, Bill Allombert wrote:
> 
> > /etc/cron.daily/popularity-contest is a conffile, I cannot make it into
> > a systemd service.
> 
> The usual way to handle both cron and systemd timers is to move most of
> the logic in the cron script into a script in /usr then make the cron
> script exit under systemd or call the /usr script under sysvinit and
> then add a systemd timer and service that calls the /usr script.

But then the user would not be able to configure it anymore,
so I do not see the upside.

Cheers,
-- 
Bill. <ballombe@debian.org>

Imagine a large red swirl here. 


Reply to: