call task directly and remove note about debug log

This commit is contained in:
wh1te909
2023-11-08 21:21:35 +00:00
parent b035b53092
commit 1ce5973713

View File

@@ -7,10 +7,4 @@ class Command(BaseCommand):
help = "Checks for orphaned tasks on all agents and removes them"
def handle(self, *args, **kwargs):
remove_orphaned_win_tasks.s()
self.stdout.write(
self.style.SUCCESS(
"The task has been initiated. Check the Debug Log in the UI for progress."
)
)
remove_orphaned_win_tasks()