From 614871c20ed94231f994fb4b30eaa36dffc6de17 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 6 Jul 2023 20:42:13 -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 9cf7182..500111d 100755 --- a/install-dsmon.sh +++ b/install-dsmon.sh @@ -110,7 +110,7 @@ echo -e "${idsCL[Yellow]}Adding task to crontab... ${idsCL[Default]}" crontab -l | grep -v 'dsmon hdd' | crontab - crontab -l | grep -v 'dsmon sys' | crontab - sleep 1s -(crontab -l ; echo "$(($RANDOM % 15)) */1 * * * /usr/local/bin/dsmon hdd >/dev/null 2>&1")| crontab - +(crontab -l ; echo "$(($RANDOM % 59)) */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 -