I want to have a queue that push task to worker (celeryd) depend on interval time setting

478 views Asked by At

I 'm working of project that use celery, rabbitmq. I want to have right to control interval that queue push task to worker(celeryd).

1

There are 1 answers

0
MattH On

It sounds like you're looking for this documentation on Periodic Tasks.

Essentially, you configure and run celerybeat, which fires off task executions at intervals.

Word of warning:
If it's undesirable to be running your task multiple times concurrently, I'd suggest you follow a task locking recipe. If your workers are busy or offline, you may end up with a backlog of periodic tasks.