简体   繁体   中英

django-celery receive task but do not excute it

I'm using django-celery library, it's receive tasks probably but when I read the log its show me this message every time it's receive the task.

[2019-05-15 07:43:25,408: INFO/Beat] Writing entries...
[2019-05-15 07:46:30,327: INFO/Beat] Writing entries...
[2019-05-15 07:49:35,245: INFO/Beat] Writing entries...
[2019-05-15 07:52:40,155: INFO/Beat] Writing entries...
[2019-05-15 07:55:45,065: INFO/Beat] Writing entries...
[2019-05-15 07:58:49,967: INFO/Beat] Writing entries...
[2019-05-15 08:01:54,891: INFO/Beat] Writing entries...
[2019-05-15 08:04:59,804: INFO/Beat] Writing entries...
[2019-05-15 08:08:04,720: INFO/Beat] Writing entries...

i run this command to start the worker

python manage.py celery worker -Ofair -c 8 -l info --settings=settings.settings -Q default,celer$

after search on internet no useful solutions I found, can some body guess what is the reason of this message and why it appear when the queue is arrived ?

so you are showing your beat log calling jobs which I assume you have one using -f (although you have not shown)

you have your workers loglevel set but not using -f to see what that is reporting on picking up the requests from the beat service?

Might be useful to also state which OS you are using!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM