Redundant execution of tasks with Celery.

33 views
Skip to first unread message

Brian Odhiambo

unread,
Oct 24, 2023, 2:09:59 AM10/24/23
to django...@googlegroups.com
Hello everyone.
I have scheduled tasks that get executed with Celery. On development, the scheduled tasks are executed only once. But in production, they're executed redundantly. I have my django application deployed on a private server. I've tried to examine what could be the cause of this behaviour and could not solve it. Anyone who has ever had such a challenge, how did you solve it?

Thanks in advance for your help. 

Migui Galan

unread,
Oct 24, 2023, 2:34:21 AM10/24/23
to django...@googlegroups.com
Hi Brian, unfortunately I haven't experienced this however if you are not familiar with logging celery values in the terminal to check repeated values. Try to visit this or search similar keywords:

https://stackoverflow.com/questions/31414468/print-statement-in-celery-scheduled-task-doesnt-appear-in-terminal

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPjQKqY7ru4oSi6Cxyps5tG%3DTi_VQ525RB7Xxkgej4TiWCow9Q%40mail.gmail.com.

Migui Galan

unread,
Oct 24, 2023, 2:35:09 AM10/24/23
to django...@googlegroups.com
When I  develop Django + celery, I always print the values in the terminal to check it.
Reply all
Reply to author
Forward
0 new messages