[Popcon-developers] Bug#799088: popularity-contest: please add PERSISTENT=true to the new crontab

Bill Allombert ballombe at debian.org
Tue Sep 15 20:22:00 UTC 2015


On Tue, Sep 15, 2015 at 08:52:34PM +0200, Alexandre Detiste wrote:
> Package: popularity-contest
> Version: =1.64
> Severity: wishlist
> Tags: patch
> 
> Hi,
> 
> Could you please add a "PERSISTENT=true" environment
> variable to the new generated crontabs ?
> 
> When the cron-daemon is provided by 'systemd-cron' alternative
> implementation, this got translated to "Persistent=true"
> in the generated systemd timer.
> 
> That gives this crontab anacron-like powers:
> if the timer elaspsed while the system was down,
> the job is executed after next boot.

Hello Alexandre,

/etc/cron.d/popularity-contest is not handled by anacron (as you note),
it is /etc/cron.daily/popularity-contest which is. 
So it would be more consistent to add 'anacron-like power' to
/etc/cron.daily/popularity-contest than to 
/etc/cron.d/popularity-contest, otherwise the same job will be run
twice at boot.

> By the way, the "Suggests: anacron" is not applicable anymore,
> as anacron doesn't process the jobs in /etc/cron.d .

Of course it is still applicable, /etc/cron.daily/popularity-contest
is still here.

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

Imagine a large red swirl here. 



More information about the Popcon-developers mailing list