Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Last active October 23, 2019 20:50
Show Gist options
  • Save recursivecodes/07cdf41ff33e61d5487cf44afa4e0d6c to your computer and use it in GitHub Desktop.
Save recursivecodes/07cdf41ff33e61d5487cf44afa4e0d6c to your computer and use it in GitHub Desktop.
renew.sh
echo "0 0,12 * * * root python -c 'import random; import time; time.sleep(random.random() * 3600)' && /usr/local/bin/certbot-auto renew" | sudo tee -a /etc/crontab > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment