Update nodemgmt-scripts.sh

This commit is contained in:
2022-07-24 19:30:59 -05:00
parent c2318a3cac
commit cff8954b52

View File

@@ -1962,7 +1962,7 @@ 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" >> ${FOLDER}/status-check.lastrun
echo -e "\n\n" >> ${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