diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 90bfe865..2fbdbccf 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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;;