【发布时间】:2017-02-05 14:42:48
【问题描述】:
How to stop a specific Job in quartz scheduler 我已经阅读了多个类似的问题,但大多数问题都没有答案,而有一个问题的问题已经过时,并且参考了不再存在的文档
大部分问题的回答是这个You need to write a your job as an implementation of InterruptableJob. To interrupt this job, you need handle to Scheduler, and call interrupt(jobKey<<job name & job group>>)和指向这个死链接http://www.quartz-scheduler.org/api/2.0.0/org/quartz/InterruptableJob.html
但是有没有人有例子说明如何做到这一点
【问题讨论】:
标签: java scheduled-tasks quartz-scheduler