Last active
April 24, 2016 12:01
-
-
Save jordangraft/6f65bb14e8ea0c77da11c640c733c678 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
sudo service nginx stop | |
sudo /home/ubuntu/letsencrypt/letsencrypt-auto renew -nvv --standalone | |
sudo service nginx start |
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
crontab -e | |
0 5 * * * /home/ubuntu/backup.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment