关于证书!

问答中心关于证书!
miaojunhao asked 7 年 ago
记得说过SSL证书默认一周续期一次,我不知道为什么我的总是不是按时续期请大家帮我看看
crontab -l
*/20 * * * * /usr/sbin/ntpdate pool.ntp.org > /dev/null 2>&1
0 0 1 * * /usr/local/python/bin/certbot renew --renew-hook "/etc/init.d/nginx reload"

1 Answers
oneinstack answered 7 年 ago
改成:

30 2 * * 1 /usr/local/python/bin/certbot renew --renew-hook "/etc/init.d/nginx reload"