Kudos
Collect
Twiiter
Facebook
Share
Develop somethings, meditation, reading and thinking...

let’s encrypt auto reload Cronjob

Last updated 8 days ago
0 0 0 0

let’s encrypt auto reload cronjob for old linux

Ubuntu 14.04

# Every month the second day 2:30am (JST) Renew Let's encrypt certifications
0 4 1 * *  /opt/letsencrypt/certbot-auto --cert-name abc.xxx.com -a nginx -i nginx --force-renewal -n
0 3 1 * *  /opt/letsencrypt/certbot-auto --cert-name def.xxx.com -a nginx -i nginx --force-renewal -n
0 2 1 * *  /opt/letsencrypt/certbot-auto --cert-name xxx.com -a nginx -i nginx --force-renewal -n

30 2 2 * * /opt/letsencrypt/letsencrypt-auto renew && service nginx reload

Hi, my name is Richard. I’m a developer wants to make the world better with logic power. Mainly I use Linux, Nginx, MySQL, PHP and JavaScript . I want to share my knowledge with someone that it was also based from some great persons via LYNMP. 👨‍💻

Essedrop - Make your file online instantly
 

Responses

Leave a response to @richard

Please sign in to comment.
Markdown is also available in comment.