Update nodemgmt-scripts.sh
This commit is contained in:
1 parent
9907ad0f62
commit
7c3cefc32d
1 file changed
+3
@@ -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