Run a celery worker in the background

前端 未结 3 1748

I am running a celery worker like this:

celery worker --app=portalmq --logfile=/tmp/portalmq.log --loglevel=INFO -E --pidfile=/tmp/portalmq.pid
3条回答
  •  独厮守ぢ
    2020-12-14 11:45

    I have faced the same problem as a lazy solution is to use & at the end of the command. For example

    celery worker -A .celery --loglevel=info &  
    

提交回复
热议问题