From ebd9b907f3144aae200fccba002ecf4d3d3d3089 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 31 Dec 2022 18:19:43 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index efbb0180..2895c98d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -2389,6 +2389,7 @@ if [ ${action-x} ]; then backup) BACKUP;; downlist) if [ "${2}" = "report" ]; then + rm -f ${FOLDER}/status-downlist.lastrun DOWNLIST report >> ${FOLDER}/status-downlist.lastrun STATUSLOG="$(cat ${FOLDER}/status-downlist.lastrun)" echo -e "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" david@schroedercity.com