From 06c78a1e74bad2a266a1f2915f11463a339b24e0 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 4 Jul 2023 18:15:24 -0500 Subject: [PATCH] Update install-dsmon.sh --- install-dsmon.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install-dsmon.sh b/install-dsmon.sh index db7a291..1642852 100755 --- a/install-dsmon.sh +++ b/install-dsmon.sh @@ -107,6 +107,7 @@ echo "Test Alert" | mail -r DSMon_$(hostname -s)@scity.us -s "Test" $SET_ALERTEM echo -e "${idsCL[Yellow]}Adding task to crontab... ${idsCL[Default]}" (crontab -l ; echo "$(($RANDOM % 15)) */1 * * * /usr/local/bin/dsmon hdd >/dev/null 2>&1")| crontab - +sleep 1s (crontab -l ; echo "*/5 * * * * /usr/local/bin/dsmon sys >/dev/null 2>&1")| crontab -