michaelklishin / quartz-mongodb

A MongoDB-based store for the Quartz scheduler. This fork strives to be as feature complete as possible. Originally by MuleSoft.
Other
249 stars 203 forks source link

Fixed problem that JobExecutionContext.getPreviousFireTime() returns the actual execution time #7

Closed daniel-h closed 11 years ago

daniel-h commented 11 years ago

Fixed problem that JobExecutionContext.getPreviousFireTime() returns the actual execution time.

This seems to be because the trigger is updated before the TriggerFiredBundle, is created. I assume the TriggerFiredBundle holds the data available later in a job implementation via JobExecutionContext.

Thus the update of the trigger needs to happen after the TriggerFiredBundle has been created with trigger values.

michaelklishin commented 11 years ago

Released 1.1.0-beta5 to clojars.org.