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

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



Hi,

I had mentaly read the crontab as:
56 18 * * *   root    test -x /usr/bin/popularity-contest && /usr/bin/popularity-contest --crond

Now I feel a little dumb & confused ;-)

Le mardi 15 septembre 2015, 22:22:00 Bill Allombert a ?crit :
> 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.

This is right, now I'm still wondering how the cron.daily & the new crontab
interract... wouldn't it need some locking to avoid that popcon
run twice at the same time if someone is unlucky ?

This one is maybe a real bug.

The whole /etc/cron.daily already has anacron-like behaviour
since systemd 212+ landed in Debian.

> > 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.

I thought it was gone.
 
> Cheers,

Cheers



Reply to: