Celery Received unregistered task of type (run example)
I think you need to restart the worker server. I meet the same problem and solve it by restarting.
I think you need to restart the worker server. I meet the same problem and solve it by restarting.
It is possible to test tasks synchronously using any unittest lib out there. I normaly do 2 different test sessions when working with celery tasks. The first one (as I’m suggesting bellow) is completely synchronous and should be the one that makes sure the algorithm does what it should do. The second session uses the … Read more
EDIT: See other answers for getting a list of tasks in the queue. You should look here: Celery Guide – Inspecting Workers Basically this: my_app = Celery(…) # Inspect all nodes. i = my_app.control.inspect() # Show the items that have an ETA or are scheduled for later processing i.scheduled() # Show tasks that are currently … Read more
From the docs: $ celery -A proj purge or from proj.celery import app app.control.purge() (EDIT: Updated with current method.)