fix bad import and change update script
This commit is contained in:
parent
f83baaa121
commit
15452767ef
|
@ -28,7 +28,6 @@ def setup_periodic_tasks(sender, **kwargs):
|
|||
cpu_load_check_alert,
|
||||
mem_check_alert,
|
||||
win_service_check_task,
|
||||
determine_agent_status,
|
||||
checks_failing_task,
|
||||
)
|
||||
|
||||
|
@ -36,5 +35,4 @@ def setup_periodic_tasks(sender, **kwargs):
|
|||
sender.add_periodic_task(10.0, cpu_load_check_alert.s())
|
||||
sender.add_periodic_task(10.0, mem_check_alert.s())
|
||||
sender.add_periodic_task(10.0, win_service_check_task.s())
|
||||
sender.add_periodic_task(60.0, determine_agent_status.s())
|
||||
sender.add_periodic_task(7.0, checks_failing_task.s())
|
||||
|
|
|
@ -6,7 +6,9 @@ sudo systemctl stop ${i}
|
|||
done
|
||||
|
||||
cd /home/${USER}/rmm/
|
||||
git pull
|
||||
git fetch origin develop
|
||||
git reset --hard FETCH_HEAD
|
||||
git clean -df
|
||||
source /home/${USER}/rmm/api/env/bin/activate
|
||||
cd /home/${USER}/rmm/api/tacticalrmm
|
||||
pip install -r /home/${USER}/rmm/api/tacticalrmm/requirements.txt
|
||||
|
|
Loading…
Reference in New Issue