From 0714f04d2a65623129c5d07f311197dc2a2f1ece Mon Sep 17 00:00:00 2001 From: lgcareer <18610854716@163.com> Date: Fri, 31 May 2019 11:58:33 +0800 Subject: [PATCH] update deleteJob --- .../src/main/java/cn/escheduler/api/quartz/QuartzExecutors.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/escheduler-api/src/main/java/cn/escheduler/api/quartz/QuartzExecutors.java b/escheduler-api/src/main/java/cn/escheduler/api/quartz/QuartzExecutors.java index 5cb3b33853..916e4f3792 100644 --- a/escheduler-api/src/main/java/cn/escheduler/api/quartz/QuartzExecutors.java +++ b/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) {