From 3475ea0f35f499fc602826d428a4f152cb6c8920 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 6 Jul 2020 13:40:16 +0000 Subject: [PATCH] updated letsencrypt renewal cron job needed some path additions to work properly. --- infobase/configuration/cron/letsencrypt_renewal.crontab | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infobase/configuration/cron/letsencrypt_renewal.crontab b/infobase/configuration/cron/letsencrypt_renewal.crontab index 450f08b2..90df89b5 100644 --- a/infobase/configuration/cron/letsencrypt_renewal.crontab +++ b/infobase/configuration/cron/letsencrypt_renewal.crontab @@ -3,7 +3,9 @@ #[letsencrypt renewal] # run the letsencrypt certificate renewal process every 4 hours. -37 */4 * * * letsencrypt renew &>>/tmp/${CRONUSER}-cron-letsencrypt_renewal.log +# fixing issues in renewal by setting PATH. +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +37 */4 * * * (date ; letsencrypt renew) &>> /tmp/${CRONUSER}-cron-letsencrypt_renewal.txt ############## -- 2.34.1