-
-
Save ishults/0c69a15f9e8a172b428ecc1d1d8bc3f8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
crontab -e | |
# Add this. x is the minute of renewal, while y and z are the hours. | |
# You can (should) move the command into a script and run that. | |
x y,z * * * sudo service nginx stop && letsencrypt renew --quiet && sudo service nginx start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment