Run checks and actions from the management command
This commit is contained in:
@@ -25,6 +25,8 @@ async def job():
|
|||||||
for strategy in strategies:
|
for strategy in strategies:
|
||||||
log.debug(f"Running strategy {strategy.name}")
|
log.debug(f"Running strategy {strategy.name}")
|
||||||
ams = active_management.ActiveManagement(strategy) # noqa
|
ams = active_management.ActiveManagement(strategy) # noqa
|
||||||
|
ams.run_checks()
|
||||||
|
ams.execute_actions()
|
||||||
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
class Command(BaseCommand):
|
||||||
|
|||||||
Reference in New Issue
Block a user