我用芹菜,主管和花
主管conf:
command=/web/venv/bin/python manage.py celeryd -E -l info -c 2 --maxtasksperchild=1 -Ofair
directory=/web/
stdout_logfile=/web/log/
redirect_stderr=true
user=web
killasgroup=true
stopasgroup=true
从python shell启动时出现问题,任务工作非常快。如果来自芹菜,工作时间非常长。我不知道是什么问题。也许有人可以帮忙?
您可以通过从管理员添加芹菜来实现相同目标,这可能是解决方案
http://www.yourhost.com/admin/djcelery/