Skip to content

Instantly share code, notes, and snippets.

@b3rew
Created March 28, 2017 16:43
Show Gist options
  • Save b3rew/f54f5275819bdd35df4a7344a9ba4541 to your computer and use it in GitHub Desktop.
Save b3rew/f54f5275819bdd35df4a7344a9ba4541 to your computer and use it in GitHub Desktop.
certbot renewal cron letsencrypt
55 23 * * */2 alias sudo='sudo -H'
57 23 * * */2 echo "password" | sudo /opt/certbot/certbot-auto renew # don't use this method
57 23 * * */2 unalias sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment