From 2e694ebbea75f6a3ee17d66e576e0107f2b09e79 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Oct 2021 10:10:04 -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 4eed2d6..c060907 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 * * * /usr/local/bin/dsmon")| crontab - +(crontab -l ; echo "0 */3 * * * /usr/local/bin/dsmon")| crontab - echo -e "THRESHOLD=$SET_THRESHOLD ALERT_EMAIL=$SET_ALERTEMAIL