Replies: 2 comments 5 replies
-
Thanks for the kind words and good to know you are considering using this lib.
This should be possible with the persistence, as data saved is generic. You need to create a type to hold all the metadata you want. If you can provide more info on the metadata, we can discuss the best approaches.
Currently yeah. But apalis is pretty extensible, it should be straight forward to implement a custom Backend to represent multiple shedules per worker scenario. I am open to helping you achieve this. |
Beta Was this translation helpful? Give feedback.
-
Yeah it doesn’t persist the shedules anywhere. You could achieve that using
pg_cron.
|
Beta Was this translation helpful? Give feedback.
-
Hi and thanks for the awesome libary!
At lakekeeper we're currently working on integrating some form of persisted cron-scheduling both for user schedulable tasks as well as some fixed-schedule background tasks. For both kinds of tasks, it is important to attach some data to the cron schedule, i.e. the receiver functions needs to have some data to do their work.
Is this something that's possible today with this library?
From what I understand after skimming some of the apalis sources and having taken a look at the cron example, we'd have to spawn a worker per schedule? I also understand that the cron definitions themselves are not persisted but only its current incancation? The only associated data with cron ticks is the datetime of the tick?
Kind regards and thank you
Tobias
Beta Was this translation helpful? Give feedback.
All reactions