Update nodemgmt-scripts.sh

This commit is contained in:
2024-07-15 23:29:47 -05:00
parent f111fdbbd2
commit f6833ccb39

View File

@@ -1229,9 +1229,12 @@ GUI(){
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
${NM_SCRIPT} nightlyrenew report
echo -e "\n$(date +%Y-%m-%d-%H-%M-%S)"
else
NIGHTLYRENEW
fi
${NM_SCRIPT} nightlyrenew report
echo -e "\n$(date +%Y-%m-%d-%H-%M-%S)"
;;
delsite) DELSITE ${2} ${3} ${4} ${5};;
delsites) DELSITES;;