Skip to content

Instantly share code, notes, and snippets.

@voronenko-p
Created May 29, 2019 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voronenko-p/bcfc5e5846e6165de4bd5365bf7d4ccf to your computer and use it in GitHub Desktop.
Save voronenko-p/bcfc5e5846e6165de4bd5365bf7d4ccf to your computer and use it in GitHub Desktop.
crontab -e
43 6 * * * certbot renew --post-hook "service nginx restart" --logs-dir /home/user/letsencrypt/log/ --config-dir /home/user/letsencrypt/config/ --work-dir /home/user/letsencrypt/work/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment