4

I am looking for a Python only example on starting a Celery worker. I know there is the celery worker command line tool, but I would like to pass parameters to the app that the worker uses, and that seems to be complicated.

Is there no app.startWorker(...) method I can use?

Armen Michaeli
  • 8,625
  • 8
  • 58
  • 95
  • 2
    http://stackoverflow.com/questions/23389104/how-to-start-a-celery-worker-from-a-script-module-main/23396197#23396197 – daniula May 26 '14 at 20:42

1 Answers1

2

I think the best example would be the celery worker code. This is what is called when you actually run the celery worker (wraps the worker classes). It looks pretty straightforward.

woot
  • 7,406
  • 2
  • 36
  • 55