From 2b6f00a889fa6012a7739ffa379757788ea0e3c5 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 18 Feb 2023 21:36:38 +0000 Subject: [PATCH] Run checks and actions from the management command --- core/management/commands/scheduling.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/management/commands/scheduling.py b/core/management/commands/scheduling.py index dd919ca..4788cff 100644 --- a/core/management/commands/scheduling.py +++ b/core/management/commands/scheduling.py @@ -25,6 +25,8 @@ async def job(): for strategy in strategies: log.debug(f"Running strategy {strategy.name}") ams = active_management.ActiveManagement(strategy) # noqa + ams.run_checks() + ams.execute_actions() class Command(BaseCommand):