For what it’s worth, it’s recommended to run “
letsencrypt-auto renew” twice a day. And not right at the top of the hour. If you only run it once a month, if there’s an outage at just the wrong time, your certificates might expire. If you run it frequently, there are more chances to succeed.
renew doesn’t do anything when your certificates aren’t close to expiring.
Something like this should work:
0 */12 * * * perl -e 'sleep int(rand(43200))' && /home/bitnami/letsencrypt/letsencrypt-auto renew --deploy-hook '/opt/bitnami/ctlscript.sh restart apache'