My EFA server took an update and on July 8th and it rewrote (and BROKE) /etc/cron.d/certbotrenew:
Code: Select all
# ls -l /etc/cron.d/certbotrenew
-rw-r--r--. 1 root root 666 Jul 8 05:14 /etc/cron.d/certbotrenew
# cat /etc/cron.d/certbotrenew
0 0,12 awl.php checklogin.php conf.php connect.php functions.php images includes index.php login.function.php login.php main.css opt_in_out.php awl.php checklogin.php conf.php connect.php functions.php images includes index.php login.function.php login.php main.css opt_in_out.php awl.php checklogin.php conf.php connect.php functions.php images includes index.php login.function.php login.php main.css opt_in_out.php root python -c 'import random; import time; time.sleep(random.random() awl.php checklogin.php conf.php connect.php functions.php images includes index.php login.function.php login.php main.css opt_in_out.php 3600)' && certbot renew >/dev/null 2>&1
Jul 08 05:15:51 Updated: eFa.x86_64 1:4.0.0-64.eFa.el7
Please see my previous post about the certbot crontab and the crontab getpwnam issues to see what I feel should be the correct contents of this file:
Code: Select all
0 0,12 * * * user python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew --post-hook '/usr/sbin/service httpd force-reload' >/dev/null 2>&1