mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-05 05:38:30 +08:00
update deleteJob
This commit is contained in:
parent
f20767371e
commit
0714f04d2a
@ -230,6 +230,8 @@ public class QuartzExecutors {
|
|||||||
if(scheduler.checkExists(jobKey)){
|
if(scheduler.checkExists(jobKey)){
|
||||||
logger.info("try to delete job, job name: {}, job group name: {},", jobName, jobGroupName);
|
logger.info("try to delete job, job name: {}, job group name: {},", jobName, jobGroupName);
|
||||||
return scheduler.deleteJob(jobKey);
|
return scheduler.deleteJob(jobKey);
|
||||||
|
}else {
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (SchedulerException e) {
|
} catch (SchedulerException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user