[Letsencrypt-devel] Bug#825732: certbot: Wrong cron execution

Archi archipl33 at gmail.com
Sun May 29 10:11:47 UTC 2016

Package: certbot
Version: 0.6.0-2
Severity: normal
Tags: patch

Dear Maintainer,

After default install of certbot package, there is /etc/cron.d/certbot created with default setting of * */12 * * *.
As upstream suggests, renew should be done twice per day, instead, according to above cron, it's executed every minute of 12 and 0 hour.
Instead, it should execute at 0:00 and 12:00, this way already included random will ensure that it's run twice - between 0:00-1:00 and 12:00-13:00.
Patch is included in changed configuration files. Thank you.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages certbot depends on:
ii  dialog          1.3-20160209-1
ii  python-certbot  0.6.0-2
pn  python:any      <none>

certbot recommends no packages.

Versions of packages certbot suggests:
pn  python-certbot-apache  <none>
pn  python-certbot-doc     <none>

-- Configuration Files:
/etc/cron.d/certbot changed:
0 */12 * * * root perl -e 'sleep int(rand(3600))'; certbot -q renew

-- no debconf information

More information about the Letsencrypt-devel mailing list