From 06a5f4713e57d629e61e42832c31144d17d9689d Mon Sep 17 00:00:00 2001 From: luukas Date: Fri, 5 Mar 2021 11:30:18 +0200 Subject: [PATCH] fix merge conflict in tasks.py --- app/classes/shared/tasks.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/classes/shared/tasks.py b/app/classes/shared/tasks.py index 5b77d6ea..f36c8db1 100644 --- a/app/classes/shared/tasks.py +++ b/app/classes/shared/tasks.py @@ -167,6 +167,11 @@ class TasksManager: else: # Stats are same time.sleep(8) + def log_watcher(self): + console.debug('in log_watcher') + helper.check_for_old_logs(db_helper) + schedule.every(6).hours.do(lambda: helper.check_for_old_logs(db_helper)) +