当前位置: 动力学知识库 > 问答 > 编程问答 >

java - how to get control on scheduler job programatically like start and stop

问题描述:

we have requirement like to start, stop and resume individual job and get the status for individual job to display on web page. Please help me on the same to implement this functionality in Quartz Scheduler.

网友答案:

You should obtain a reference to the quartz Scheduler object, and you can do all from there. In spring you can obtain it through org.springframework.scheduling.quartz.SchedulerFactoryBean

Check this question for a better spring-quartz support.

分享给朋友:
您可能感兴趣的文章:
随机阅读: