Update nodemgmt-scripts.sh

This commit is contained in:
2022-07-24 19:25:30 -05:00
parent 6ff404b5f3
commit c2318a3cac

View File

@@ -1962,8 +1962,8 @@ if [ ${action-x} ]; then
rm -f ${FOLDER}/status-check.lastrun
STATUS report > ${FOLDER}/status-check.lastrun
if [ "${3}" = "email" ] && [ "${STATUS_CHECK_EMAIL}" != "" ]; then
echo "\r\r"
DOWNLIST report > ${FOLDER}/status-check.lastrun
echo "\r\r" >> ${FOLDER}/status-check.lastrun
DOWNLIST report >> ${FOLDER}/status-check.lastrun
STATUSLOG="$(cat ${FOLDER}/status-check.lastrun)"
echo "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" david@schroedercity.com
echo "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" 9208839613@mms.att.net