Celery monitoring does not work with database broker

I am using django-celery, using both a broker database and a result repository. Events are processed, but monitoring (celerycam or ceralev) does not work.

My settings.pyincludes

import djcelery
djcelery.setup_loader()
BROKER_BACKEND = "django"
CELERY_IMPORTS = (
        "cbridge.tasks",
        )

INSTALLED_APPS += [
    'djcelery',
    'djkombu',
    ]

This is enough to get manage.py celerydto process tasks from cbridge.tasksthat are inserted into the queue from anywhere and sometimes return results to the thread that launched the task. (I will leave it sometimes for real at the moment.) Thus, the system is configured so that it actually runs tasks, which is fine and that’s all, but ...

My question is: how to get control over tasks? Nothing ever appears in tables djcelery_.

manage.py celerycam manage.py celeryev, , . , , . ?

CELERY_RESULT_BACKEND = "database" 
CELERY_RESULT_DBURI = "mysql://root:@localhost/cbridge"

. , celeryev celerycam , celeryd. ?

+5
1

, ... Django Celery: , /

" ORM Django".

+3

All Articles