diff --git a/defaults.inc b/defaults.inc index fa41eb69..42652a22 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='5.1.121-06282024' +VERS='5.1.122-07152024' NM_BETA=false noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix ' diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 2fbdbccf..30d70216 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1225,10 +1225,10 @@ GUI(){ checkcerts) CHECK-CERTS ${2} ${3} ${4} ${5} ${6};; nightlyrenew) if [ "${2}" == "q" ]; then - exec 3>&1 >>${NM_LOGFOLDER}/cert-renewal.lastrun 2>&1 - echo "$(date +%Y-%m-%d-%H-%M-%S) #### Nightly Cert Renewal check Initiated ####" mv -f ${NM_LOGFOLDER}/cert-renewal1.lastrun ${NM_LOGFOLDER}/cert-renewal2.lastrun mv -f ${NM_LOGFOLDER}/cert-renewal.lastrun ${NM_LOGFOLDER}/cert-renewal1.lastrun + exec 3>&1 >>${NM_LOGFOLDER}/cert-renewal.lastrun 2>&1 + echo "$(date +%Y-%m-%d-%H-%M-%S) #### Nightly Cert Renewal check Initiated ####" ${NM_SCRIPT} nightlyrenew report echo -e "\n$(date +%Y-%m-%d-%H-%M-%S)" else