mirror of
https://github.com/netweak/agent.git
synced 2024-12-16 21:46:58 -05:00
Update install.sh
Fixed cron interval
This commit is contained in:
parent
1fc70575a0
commit
ec86e59367
1 changed files with 1 additions and 1 deletions
|
@ -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|"
|
||||
|
|
Loading…
Reference in a new issue