Update install.sh

This commit is contained in:
Lucas Decrock 2020-01-24 13:23:33 +01:00 committed by GitHub
parent 8c86fca41d
commit b76e4ef87d
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` chmod +s `type -p ping`
# Configure cron # 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 "* * * * * bash /etc/netweak/agent.sh > /etc/netweak/log/cron.log 2>&1"; } | crontab -u netweak -
# Show success # Show success
echo -e "|\n| Success: The Netweak agent has been installed\n|" echo -e "|\n| Success: The Netweak agent has been installed\n|"