X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=infobase%2Fconfiguration%2Fcron%2Fletsencrypt_renewal.crontab;h=90df89b52355f9555de4d39f0f723dcf5e33fe56;hb=refs%2Fheads%2Frelease-2.140.129;hp=c3acd69419971a6d4558e09346b3e9e1d4e8a6c1;hpb=f3056aa14dd7d652b75ca3d7ba8c401f5db1e22c;p=feisty_meow.git diff --git a/infobase/configuration/cron/letsencrypt_renewal.crontab b/infobase/configuration/cron/letsencrypt_renewal.crontab index c3acd694..90df89b5 100644 --- a/infobase/configuration/cron/letsencrypt_renewal.crontab +++ b/infobase/configuration/cron/letsencrypt_renewal.crontab @@ -1,9 +1,11 @@ -SHELL=/bin/bash - -# m h dom mon dow command +############## #[letsencrypt renewal] # run the letsencrypt certificate renewal process every 4 hours. -37 */4 * * * letsencrypt renew &>/tmp/letsencrypt_last_run.txt +# 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 + +##############