feat: Add basic celery config

This commit is contained in:
2024-10-09 21:54:31 +02:00
parent ab2b91735e
commit 39893c2185
5 changed files with 34 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
from notfellchen.celery import app as celery_app
from .tools.admin import clean_locations
@celery_app.task(name="admin.clean_locations")
def task_clean_locations():
clean_locations()