update deleteJob

This commit is contained in:
lgcareer 2019-05-31 11:58:33 +08:00
parent f20767371e
commit 0714f04d2a

View File

@ -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) {