From bf9a9d360f13c30a0d036fc26470c034c65ff977 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 25 Feb 2024 10:14:50 -0500 Subject: [PATCH] fix: update the letsencrypt plugin to run off midnight hours While ideally this is a custom time, this will help alleviate issues where the letsencrypt certificate may not renew due to load on the letsencrypt servers. Closes #289. --- cron-entries | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron-entries b/cron-entries index f548214..8aa6405 100755 --- a/cron-entries +++ b/cron-entries @@ -2,7 +2,7 @@ trigger-letsencrypt-cron-entries() { if [[ -f "${DOKKU_LIB_ROOT}/data/letsencrypt/autorenew" ]]; then - echo "@daily;dokku letsencrypt:auto-renew;/var/log/dokku/letsencrypt.log" + echo "24 6 * * *;dokku letsencrypt:auto-renew;/var/log/dokku/letsencrypt.log" fi }