Django-CRM
Django-CRM copied to clipboard
Unable to start celery tasks
How do I run the last command in README.md ? :
celery -A tasks worker --loglevel=INFO
This command results with an error:
Usage: celery [OPTIONS] COMMAND [ARGS]...
Try 'celery --help' for help.
Error: Invalid value for '-A' / '--app':
Unable to load celery application.
Module 'tasks' has no attribute 'celery'
I suppose the problem is with the init.py of tasks module.
Are you using Windows? If so, the command you need is here.
celery -A tasks worker --loglevel=Info --pool=solo