Update nodemgmt-scripts.sh
This commit is contained in:
@@ -2389,6 +2389,7 @@ if [ ${action-x} ]; then
|
|||||||
backup) BACKUP;;
|
backup) BACKUP;;
|
||||||
downlist)
|
downlist)
|
||||||
if [ "${2}" = "report" ]; then
|
if [ "${2}" = "report" ]; then
|
||||||
|
rm -f ${FOLDER}/status-downlist.lastrun
|
||||||
DOWNLIST report >> ${FOLDER}/status-downlist.lastrun
|
DOWNLIST report >> ${FOLDER}/status-downlist.lastrun
|
||||||
STATUSLOG="$(cat ${FOLDER}/status-downlist.lastrun)"
|
STATUSLOG="$(cat ${FOLDER}/status-downlist.lastrun)"
|
||||||
echo -e "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" david@schroedercity.com
|
echo -e "Status Report\n\n${STATUSLOG}" | mail -s "Status Report" david@schroedercity.com
|
||||||
|
|||||||
Reference in New Issue
Block a user