开发者

Monitoring Quartz Scheduler to warn about jobs that haven't ran

I currently have some quartz jobs running and I'd like to set up some monitoring that would send out alerts if a job fails to run. I know if a job fails quartz can send out notifications but what I am looking for is some that could warn me if the quartz thread itself bombed out and just quit running jobs altogether (as an example).

My though was to just compare Quartz's schedule with a list of what has ran successfully. From looking at the API's it looks like I can easily fetch the schedule information so that I know what should have run. The trick is figuring out what has run. Am I missing something in t开发者_C百科he API's? I see some plug-ins that provide java.logging logs of what has ran and when but nothing that I could pull from the database.

If nothing else it looks like I could modify that class to push some information to a database and go from there but I'd prefer not to duplicate any of this if I don't have to.

Thanks!

Jason


May be i misunderstand what you like to reach but what about the Job Listeners for example

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜