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)) +