How can I delete all pending tasks without knowing the task_id
for each task?
相关问题
- flask application with watchdog observer
- Error message 'No handlers could be found for
- How can I convince powershell (run through task sc
- RabbitMQ management plugin windows renders as blan
- Are topic exchanges the only exchanges that suppor
相关文章
- How do do an async ServiceController.WaitForStatus
- getting error Received unregistered task of type &
- How to check if an activity is locked (app pinning
- RabbitMQ with Unity IOC Container in .NET
- Install rabbitmqadmin on linux
- await Task.CompletedTask for what?
- Why is the call ambiguous? 'Task.Run(Action)
- Save content of Email body in outlook to a file
For Celery 2.x and 3.x:
When using worker with -Q parameter to define queues, for example
then
celery purge
will not work, because you cannot pass the queue params to it. It will only delete the default queue. The solution is to start your workers with--purge
parameter like this:This will however run the worker.
Other option is to use the amqp subcommand of celery