How to check task status in Celery?

前端 未结 13 982
北荒
北荒 2020-11-28 02:44

How does one check whether a task is running in celery (specifically, I\'m using celery-django)?

I\'ve read the documentation, and I\'ve googled, but I can\'t see a

13条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-28 03:44

    for simple tasks, we can use http://flower.readthedocs.io/en/latest/screenshots.html and http://policystat.github.io/jobtastic/ to do the monitoring.

    and for complicated tasks, say a task which deals with a lot other modules. We recommend manually record the progress and message on the specific task unit.

提交回复
热议问题