[Answered ]-Django + Celery: how to chain tasks with parameters to periodic task

2👍

The celerybeat task you register could be a wrapper and perform the project/task logic inside of it, firing off other tasks as appropriate. You could fetch the project tasks inside of your celery beat job.

  • CELERYBEAT_SCHEDULE.task -> 'some_django_app.project_beat_task'

Then project beat task could retrieve the correct projects and all tasks associated with them, perhaps spawning a chain of tasks for each project

Leave a comment