Browse Source

update deleteJob

pull/2/head
lgcareer 6 years ago
parent
commit
0714f04d2a
  1. 2
      escheduler-api/src/main/java/cn/escheduler/api/quartz/QuartzExecutors.java

2
escheduler-api/src/main/java/cn/escheduler/api/quartz/QuartzExecutors.java

@ -230,6 +230,8 @@ public class QuartzExecutors {
if(scheduler.checkExists(jobKey)){
logger.info("try to delete job, job name: {}, job group name: {},", jobName, jobGroupName);
return scheduler.deleteJob(jobKey);
}else {
return true;
}
} catch (SchedulerException e) {

Loading…
Cancel
Save