Update nodemgmt-scripts.sh

This commit is contained in:
2023-01-01 08:52:27 -06:00
parent a4d336d79a
commit fbfece1db7

View File

@@ -2427,6 +2427,9 @@ if [ ${action-x} ]; then
STATUSLOG="$(cat ${FOLDER}/status-$downlist.lastrun)"
echo -e "Downlist Report\n${STATUSLOG}" | mail -s "Downlist Report" david@schroedercity.com
echo -e "Downlist Report\n${STATUSLOG}" | mail -s "Downlist Report" 9208839613@mms.att.net
echo 'found'
else
echo 'none found'
fi
else
DOWNLIST ${2}
@@ -2448,9 +2451,6 @@ if [ ${action-x} ]; then
STATUSLOG="$(cat ${FOLDER}/status-check.lastrun)"
echo -e "Status Report\n${STATUSLOG}" | mail -s "Status Report" david@schroedercity.com
echo -e "Status Report\n${STATUSLOG}" | mail -s "Status Report" 9208839613@mms.att.net
echo 'found'
else
echo 'none found'
fi
else
STATUS ${2} ${3}