How to Schedule Tasks in the Future With Celery

preview_player
Показать описание
In this video I will demonstrate two ways of scheduling tasks in the future in Celery. I use Flask as a way to demonstrate this, but this works in any context you use Celery. One approach uses countdown/eta, and the other approach uses Celery Beat.

Рекомендации по теме
Комментарии
Автор

At the risk of being ignored, how does one set a task to expire? I'm trying to test a thing I know will not work and want it to expire once it fails.

bivensrk
Автор

Thanks for this video.
I'm trying to save a task into a database but I get Session object not seriaizble. How can I solve this?

TheAremoh
Автор

Thanks for your video man! Have you ever faced a problem like this: My celery beat starts working well running the function every 3 minutes, and after some hours it starts to stuck, and then firing the function 4 times at once...I tried everything but I can't figure out what is this

andreylimagrowth
Автор

Can you please make a video on how to integrate celery with flask?
It's not really easy to understand especially with flask's contexts.

eduardmart
Автор

Thanks for the great content as usual. I'd love a how to schedule cron task with python anywhere.

MrDelliSanti
Автор

How to run celery task every minute/ every day programmatically?

mr.artist
Автор

Can you make a video about having multiple workers on different servers to execute the tasks making sure every task is executed once only? Thank you for the great content as always!

RonivaldoPassosSampaio
Автор

What’s the advantage of using this instead of cron or launchd?

grahamjoss