Skip to content

A small instant demostrated how celery works

source edited this page Sep 22, 2016 · 7 revisions

celery server

To start celery as worker

export PYTHONPATH=<path-to-our-myapp-location>
celery -A myapp worker -l info

or one might want to add queue to specifical worker

<do PYTHONPATH here>
celery -A myapp worker -l info -Q machine1

then you can monitor the output of the work via console

one can submit tasks through celery_test, but make sure your python.exe(or python) is in your system PATH and myapp is in your PYTHONPATH

Clone this wiki locally