Update nodemgmt-scripts.sh
This commit is contained in:
@@ -2423,6 +2423,9 @@ if [ ${action-x} ]; then
|
|||||||
DOWNLIST report >> ${FOLDER}/status-downlist.lastrun
|
DOWNLIST report >> ${FOLDER}/status-downlist.lastrun
|
||||||
STATUSLOG="$(cat ${FOLDER}/status-downlist.lastrun)"
|
STATUSLOG="$(cat ${FOLDER}/status-downlist.lastrun)"
|
||||||
[ "${EMAIL_NOTICE}" != "" ] && echo -e "Downlist Report\n${STATUSLOG}" | mail -s "Downlist Report" ${EMAIL_NOTICE}
|
[ "${EMAIL_NOTICE}" != "" ] && echo -e "Downlist Report\n${STATUSLOG}" | mail -s "Downlist Report" ${EMAIL_NOTICE}
|
||||||
|
echo 'found'
|
||||||
|
else
|
||||||
|
echo 'not found'
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
DOWNLIST ${2}
|
DOWNLIST ${2}
|
||||||
|
|||||||
Reference in New Issue
Block a user