Skip to content

Instantly share code, notes, and snippets.

@Gaafar
Last active November 12, 2017 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gaafar/87f66a1596d6b1d4128e2dfebb47136e to your computer and use it in GitHub Desktop.
Save Gaafar/87f66a1596d6b1d4128e2dfebb47136e to your computer and use it in GitHub Desktop.
certbot renew cron
# cron tab
# 0 0 */5 * * /root/certbot-renew
#!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#old /root/certbot-auto renew
certbot renew
# don't forget chmod +x /root/certbot-renew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment