简体   繁体   中英

celeryd-multi command unknown when using Django/djcelery

I'm using Django with Celery with the installed app djcelery . I'm trying to start multiple workers on the command line. I can run python manage.py celeryd without any issues. Everywhere, including Celeryd Docs , says that the command is celeryd-multi to start multiple workers. I try to run python manage.py celeryd-multi and I get Unknown command: 'celeryd-multi' . Why am I getting this error?

Running python manage.py help will show under the djcelery section a celeryd_multi option. The correct syntax is a _ instead of - (this may just be when using djcelery ). If you need more information use python manage.py help celeryd_multi .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM