feature/T2026-05-016 implementar cargas de tareas en background e implementar y corregir auditoria para datastages
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
import os
|
||||
from celery import Celery
|
||||
from datetime import timedelta
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
|
||||
|
||||
app = Celery('config')
|
||||
app.config_from_object('django.conf:settings', namespace='CELERY')
|
||||
# corroborar que las tareas esten programadas, se cambio el horario a hora denver
|
||||
# print("Beat schedule cargado:", app.conf.beat_schedule)
|
||||
app.autodiscover_tasks()
|
||||
|
||||
Reference in New Issue
Block a user