关于证书!

问答中心关于证书!
miaojunhao asked 3月 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 3月 ago

改成:

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