From: Chris Koeritz Date: Mon, 6 Jul 2020 13:40:16 +0000 (+0000) Subject: updated letsencrypt renewal cron job X-Git-Tag: 2.140.134~17^2~1 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=33c50af5a2d09592bbebaa785120cb3762ba3bec;p=feisty_meow.git updated letsencrypt renewal cron job needed some path additions to work properly. --- 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 ##############