scanning delayed

This commit is contained in:
2026-04-30 22:26:51 +02:00
parent b9bcdae282
commit be1da62dbc
6 changed files with 73 additions and 47 deletions
@@ -7,7 +7,6 @@ from django.core.management.base import BaseCommand
from scanner import tasks as scanner_tasks
class Command(BaseCommand):
help = "Démarre les tâches Celery."
@@ -18,9 +17,9 @@ class Command(BaseCommand):
def handle(self, *args, **options): # @UnusedVariable
#task = options['task']
try:
scanner_tasks.scanner_start.delay() # @UndefinedVariable
scanner_tasks.replay_start.delay() # @UndefinedVariable
scanner_tasks.replay_start.delay() # @UndefinedVariable
except Exception as e:
print(e)