Search code examples
djangodjango-celery

How to start celery in background of terminal in Django


I ma starting celery as

python manage.py celeryd

It is working but in foreground . Then to test commands i need to start another terminal and do stuff there.

is there any way to start that in background. I tried this

python manage.py celeryd &

But then again it comes at foreground


Solution

  • You're looking for celeryd_detach, available since at least 2.4

    python manage.py celeryd_detach