编辑:查看其他答案以获得队列中的任务列表。
您应该在这里查看: 芹菜指南-检查工人
基本上是这样的:
from celery.app.control import Inspect# Inspect all nodes.i = Inspect()# Show the items that have an ETA or are scheduled for later processingi.scheduled()# Show tasks that are currently active.i.active()# Show tasks that have been claimed by workersi.reserved()
根据你想要的



