views:

508

answers:

1

The method Scheduler.getCurrentlyExecutingJobs() in quartz apparently is not cluster aware. What method are people using to get a list of all executing jobs?

A: 

I would assume one way is to access the database directly, although its a bit risky since the API completely handles that.

There is an issue in their Jira for this purpose. Their conclusion is you need to overhaul the scheduling mechanism if they want to cater cluster aware.

You can refer to http://jira.opensymphony.com/browse/QUARTZ-372