Update install.sh

Fixed cron interval
This commit is contained in:
Lucas Decrock 2019-02-02 19:13:46 +01:00 committed by GitHub
parent 1fc70575a0
commit ec86e59367
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,7 @@ then
chmod +s `type -p ping`
# Configure cron
crontab -u netweak -l 2>/dev/null | { cat; echo "*\3 * * * * bash /etc/netweak/agent.sh > /etc/netweak/log/cron.log 2>&1"; } | crontab -u netweak -
crontab -u netweak -l 2>/dev/null | { cat; echo "*/3 * * * * bash /etc/netweak/agent.sh > /etc/netweak/log/cron.log 2>&1"; } | crontab -u netweak -
# Show success
echo -e "|\n| Success: The NetWeak agent has been installed\n|"