Is there a way to prevent jobs from executing when the it is first registered? I can potentially have 100+ triggers under 1 job and I don't want all the triggers to get executed when the application server 开发者_StackOverflow社区is rebooted.
We're storing the jobs/triggers in-memory and storing the info in our db. So when the app server is started, we register all the jobs/triggers.
You can pause your scheduler during reboot/bootstrap API here, providing you can trigger events when that happen
Then resume once bootstrapped.
精彩评论