Skip to content

Instantly share code, notes, and snippets.

@radekz2
Created September 12, 2018 01:06
Show Gist options
  • Save radekz2/122c178962c77d3a85d40ed4a19fccee to your computer and use it in GitHub Desktop.
Save radekz2/122c178962c77d3a85d40ed4a19fccee to your computer and use it in GitHub Desktop.
Elastic Beanstalk cron configuration for Let's Encrypt certbot renew
files:
"/etc/cron.d/certbot":
mode: "000644"
owner: root
group: root
content: |
56 1 * * * root /opt/certbot/certbot-auto renew
commands:
remove_old_cron:
command: "rm -f /etc/cron.d/*.bak"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment