From 55fb80092e64e2717a51821fcd18d543f1d24f15 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Oct 2021 10:05:29 -0500 Subject: [PATCH] Update install-dsmon.sh --- install-dsmon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dsmon.sh b/install-dsmon.sh index ccd867b..4eed2d6 100755 --- a/install-dsmon.sh +++ b/install-dsmon.sh @@ -38,7 +38,7 @@ echo -e "${idsCL[Yellow]}Sending test Alert... ${idsCL[Default]}" echo "Test Alert" | mail -r DSMon-$(hostname -s)@scity.us -s "Test" $SET_ALERTEMAIL echo -e "${idsCL[Yellow]}Adding task to crontab... ${idsCL[Default]}" -(crontab -l ; echo "* */3 * * * /opt/idssys/dsmon/diskspace.sh")| crontab - +(crontab -l ; echo "* */3 * * * /usr/local/bin/dsmon")| crontab - echo -e "THRESHOLD=$SET_THRESHOLD ALERT_EMAIL=$SET_ALERTEMAIL