Skip to content

Instantly share code, notes, and snippets.

@phondanai
Created February 7, 2018 07:21
Show Gist options
  • Save phondanai/c3a19822b5ad5c715009a56116f87f12 to your computer and use it in GitHub Desktop.
Save phondanai/c3a19822b5ad5c715009a56116f87f12 to your computer and use it in GitHub Desktop.
Renew letsencrypt cert every 1st day every month crontab
00 00 01 */1 * /opt/certbot-auto renew --pre-hook="service nginx stop" --post-hook="service nginx start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment