mirror of
https://github.com/netweak/agent.git
synced 2025-01-13 22:40:28 -05:00
Autorun after install
This commit is contained in:
parent
2a582a23f3
commit
2336edcf2e
1 changed files with 3 additions and 0 deletions
|
@ -140,6 +140,9 @@ then
|
||||||
crontab -u netweak -l 2>/dev/null | { cat; echo "* * * * * bash /etc/netweak/heartbeat.sh > /etc/netweak/log/cron.log 2>&1"; } | crontab -u netweak -
|
crontab -u netweak -l 2>/dev/null | { cat; echo "* * * * * bash /etc/netweak/heartbeat.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 -
|
crontab -u netweak -l 2>/dev/null | { cat; echo "* * * * * bash /etc/netweak/agent.sh > /etc/netweak/log/cron.log 2>&1"; } | crontab -u netweak -
|
||||||
|
|
||||||
|
# Initial run of agent
|
||||||
|
bash /etc/netweak/agent.sh
|
||||||
|
|
||||||
# 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|"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue