cameronmaske / celery-once

Celery Once allows you to prevent multiple execution and queuing of celery tasks.
https://pypi.python.org/pypi/celery_once/
BSD 2-Clause "Simplified" License
659 stars 91 forks source link

Not working for scheduled tasks #136

Open max-wittig opened 2 years ago

max-wittig commented 2 years ago

We've noticed that the task will anyway run, if it was scheduled by the celery beat.

Is this intended or a bug?

Franc-Brs commented 1 year ago

Hi, I noticed the same... have you any other info or where you able to solve this problem? Thnks anyway!

Danirill commented 1 year ago

Hey, i'm hitting the same error. Anybody found solution?

Danirill commented 1 year ago

I founded workaround in celery documentation https://docs.celeryq.dev/en/latest/tutorials/task-cookbook.html#ensuring-a-task-is-only-executed-one-at-a-time