Update nodemgmt-scripts.sh
This commit is contained in:
@@ -2427,6 +2427,9 @@ if [ ${action-x} ]; then
|
|||||||
STATUSLOG="$(cat ${FOLDER}/status-$downlist.lastrun)"
|
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" david@schroedercity.com
|
||||||
echo -e "Downlist Report\n${STATUSLOG}" | mail -s "Downlist Report" 9208839613@mms.att.net
|
echo -e "Downlist Report\n${STATUSLOG}" | mail -s "Downlist Report" 9208839613@mms.att.net
|
||||||
|
echo 'found'
|
||||||
|
else
|
||||||
|
echo 'none found'
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
DOWNLIST ${2}
|
DOWNLIST ${2}
|
||||||
@@ -2448,9 +2451,6 @@ if [ ${action-x} ]; then
|
|||||||
STATUSLOG="$(cat ${FOLDER}/status-check.lastrun)"
|
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" david@schroedercity.com
|
||||||
echo -e "Status Report\n${STATUSLOG}" | mail -s "Status Report" 9208839613@mms.att.net
|
echo -e "Status Report\n${STATUSLOG}" | mail -s "Status Report" 9208839613@mms.att.net
|
||||||
echo 'found'
|
|
||||||
else
|
|
||||||
echo 'none found'
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
STATUS ${2} ${3}
|
STATUS ${2} ${3}
|
||||||
|
|||||||
Reference in New Issue
Block a user