DEV Community

Discussion on: Django Celery Beat: How to get the last time a PeriodicTask was run

Collapse
 
vergeev profile image
Pavel Vergeev

Yeah! Especially if you don't really need to scale this solution to thousands different tasks that launch millions of times.

Since writing this article I've moved on to a different project with a big load of users. And you know what? It uses the same solution! Except on this project we store last_run in Redis, not Postgres, since we don't need to persist it forever.

Collapse
 
furtivusmaj profile image
Ahmed Mej

sorry for the late reply and thank you so much for your reply. I guess I will adopt this strategy for my task. Right now it is just the one!
happy new year ^^