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