From 71f4f16ab1aeb25a6cfea2f61c3944775a0b90e5 Mon Sep 17 00:00:00 2001 From: Luiz Costa Date: Tue, 4 Jun 2024 23:23:41 +0100 Subject: [PATCH] set to 1 min check status --- msp_remoteadmin/hooks.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/msp_remoteadmin/hooks.py b/msp_remoteadmin/hooks.py index 36eee50..0a7e9e1 100644 --- a/msp_remoteadmin/hooks.py +++ b/msp_remoteadmin/hooks.py @@ -219,7 +219,9 @@ app_include_js = [ "/assets/msp_remoteadmin/js/msp_remote.js" ] scheduler_events = { - "all": [ - "msp_remoteadmin.tools.check_session_status" - ] + "cron": { + "*/1 * * * *": [ + "msp_remoteadmin.tools.check_session_status" + ] + } } \ No newline at end of file