fix bad import and change update script

This commit is contained in:
wh1te909 2020-01-15 20:59:45 +00:00
parent f83baaa121
commit 15452767ef
2 changed files with 3 additions and 3 deletions

View File

@ -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())

View File

@ -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