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