From: Chris Koeritz Date: Mon, 6 Jul 2020 13:40:16 +0000 (+0000) Subject: updated letsencrypt renewal cron job X-Git-Tag: 2.140.124^2~1 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=3475ea0f35f499fc602826d428a4f152cb6c8920;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 ##############