Bug#843561: certbot: Skip use perl in cron-script, just use shell

2016-12-06 Thread debbug
Second that using -0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(3600))' && certbot -q renew +0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && / bin/sh -c "/bin/sleep $((RANDOM%3600))" && certbot -q renew Corb

Bug#843561: certbot: Skip use perl in cron-script, just use shell

2016-11-12 Thread Kazuhiro NISHIYAMA
I think `$((RANDOM\%3600))` always means 0 when /bin/sh is dash. I think it should be `bash -c 'sleep $((RANDOM\%3600))'` or something else.

Bug#843561: certbot: Skip use perl in cron-script, just use shell

2016-11-07 Thread Hans Schou
Package: certbot Version: 0.9.3-1 Severity: wishlist Dear Maintainer, In /etc/cron.d/certbot perl is the only place used. It could be solved with just shell evaluation and sleep. A more simple script. -0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep