Skip to content

Instantly share code, notes, and snippets.

@xdevmaycry
Last active November 2, 2018 05:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save xdevmaycry/75cb6b8297c7b6f2117140d3ae9a965d to your computer and use it in GitHub Desktop.
certbot

install cron job at root

sudo crontab -e

renew every day at 10:59pm

59 22 * * * /usr/bin/certbot renew > /home/ubuntu/logs/certbot.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment