Replies: 1 comment
-
I agree with your assessment. It's crucial for our application to handle missed events gracefully, especially when the service is down. However, while I've reviewed the documentation, I couldn't find explicit details on how "agenda" handles such scenarios. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I read through the documentation but didn't find anything on how it handles events that were scheduled, but the service wasn't running. Does agenda keep track of this and run it on next boot?
For example, I want to schedule creating a mongo document every two weeks, but should my service be down (crashed, maintenance, etc) I'd still want it to create that document on next boot. I'd like to use this to generate user timesheets at the start of each paycycle, but if the service is down I'd still want those created, even if it was delayed. Same goes for important email reminders/notifications.
I'm guessing it keeps track of a timestamp for when a job should run next, so does it check if it didn't run but its also past that time?
Beta Was this translation helpful? Give feedback.
All reactions