0

how can I start a worker in djcelery using django.I am new to django and djcelery.I installed django and djcelery.but I don't know how to start the worker and how to add the worker and task.sorry for my bad english

noble
  • 53
  • 1
  • 6

1 Answers1

1

You generally start a celery worker using the following command:

$ celery -A project worker -l info

Where -A is your application / project.

Since you are using djcelery, you can run it using manage.py too:

$ python manage.py celery worker

Read celery docs

v1k45
  • 8,070
  • 2
  • 30
  • 38