Your message dated Fri, 18 Sep 2015 09:13:06 +0200
with message-id
<CADsTwjKFqZdH-mYbkSq8n7FvYJsXB68MKTp0xu31cKK=suw...@mail.gmail.com>
and subject line Re: Bug#799088: popularity-contest: please add PERSISTENT=true
to the new crontab
has caused the Debian Bug report #799088,
regarding popularity-contest: please add PERSISTENT=true to the new crontab
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
799088: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799088
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.
By the way, the "Suggests: anacron" is not applicable anymore,
as anacron doesn't process the jobs in /etc/cron.d .
Vixie's cron will ignore this environment variable.
Greets,
--- popularity-contest 2015-09-15 20:43:23.714645204 +0200
+++ popularity-contest 2015-09-15 20:44:29.364004449 +0200
@@ -1,3 +1,4 @@
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+PERSISTENT=true
56 18 * * * root test -x /etc/cron.daily/popularity-contest &&
/etc/cron.daily/popularity-contest --crond
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
Closing my own PEBKAC problem.
If there is a race in popcon jobs; this deserve a bug on it's own.
--- End Message ---