SHeila Brake
SHeila Brake

Reputation: 41

Avoiding a quartz shedule miss

I am using quartz.net and it's great. But what happens if my server is down and I miss an event (I am using a database to store quartz events)? I want to make sure events run, even if they are a week late, but I don't see how this is configured?

Upvotes: 4

Views: 250

Answers (1)

user111013
user111013

Reputation:

According to the API documentation I've dug up, you can control this through MisfireInstruction.CronTrigger, and setting it to FireOnceNow - this will ensure the task is run once immediately.

Hope that puts you on the right path.

Upvotes: 2

Related Questions