It seems like everyone is using cron
for setting up certbot renew
on Macs
but I couldn't find anyone doing it with launchd
. The other file in this Gist
is the service file.
The documentation on the Let's Encrypt site actually recommends having it run twice a day (12 hours apart) but I've found that once a day is more than sufficient since if it fails it still has another 29 days to succeed.