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

certbot cron issue renew never happen



Hi,

I am experiencing an issue with certbot renew.

certbot: 0.9.3-1~bpo8+2

0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(3600))' && certbot -q renew


root@host:/home/misi# test -x /usr/bin/certbot -a \! -d /run/systemd/system && echo "test"
root@host:/home/misi#

If I remove "\!" then it seems it is better:

root@host:/home/misi# test -x /usr/bin/certbot -a -d /run/systemd/system && echo "test"
test
root@host:/home/misi#

Thanks,
Misi



Reply to: