feature/limpieza-periodica
This commit is contained in:
@@ -66,6 +66,7 @@ celery_app.conf.update(
|
||||
"api.v1.modules.a76.invoices.imports.revert.task",
|
||||
"api.v1.modules.a76.invoices.exports.process.task",
|
||||
"api.v1.modules.a76.invoices.exports.revert.task",
|
||||
"api.v1.modules.a76.layouts_csv.common.victor",
|
||||
] # Ruta al módulo donde están las tareas
|
||||
)
|
||||
|
||||
@@ -84,6 +85,10 @@ celery_app.conf.beat_schedule = {
|
||||
"task": "sync_from_hub_task",
|
||||
"schedule": 60.0, # Run every 60 seconds
|
||||
},
|
||||
"cleanup-orphan-layout-imports-hourly": {
|
||||
"task": "cleanup_orphan_layout_imports",
|
||||
"schedule": 3600.0,
|
||||
},
|
||||
}
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user