0

For eg it runs perfect the first time but if we try to run the same thing again so if it ran 3 tasks at first it will show only 1 of them (first or last of the three). But will execute all of them.

The command use to run celery here is

celery -A project worker -B -l info  --scheduler django_celery_beat.schedulers:DatabaseScheduler

The logs in the celery looks like

for the first time

task received 1
task received 2
task received 3

For the second time it may be

task received 3 or task recevied 1  #either of these 2

But will still execute all three of them.

So what may be the thing preventing them

Chetan Vashisth
  • 438
  • 4
  • 14

0 Answers0