Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-26 11:09:48 -05:00
parent 2e93d5590e
commit 0fca0452aa

View File

@@ -2703,7 +2703,8 @@ if [ ${action-x} ]; then
touch "${FOLDER}/status-check.running"
if [ "${2}" = "report" ]; then
rm -f ${FOLDER}/status-check.lastrun
STATUS report ${3} > ${FOLDER}/status-check.lastrun
echo -e "$(date) - Starting status check #############################\n" > ${FOLDER}/status-check.lastrun
STATUS report ${3} >> ${FOLDER}/status-check.lastrun
if [ "${3}" = "email" ] && [ "${EMAIL_NOTICE}" != "" ]; then
echo -e "\n\n" >> ${FOLDER}/status-check.lastrun
DOWNLIST report >> ${FOLDER}/status-check.lastrun