Created
March 4, 2018 23:04
-
-
Save benhg/54579d49849d6aea8413183b287a6144 to your computer and use it in GitHub Desktop.
Crontab entry to auto-renew certbot certificates every week and restart apache server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 6 * * * sudo certbot renew --post-hook "sudo systemctl restart apache2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment