新建任务默认为正常状态

v1.7
xueli.xue 8 years ago
parent 17e7dd5a28
commit 2b8f9689fb

@ -131,7 +131,7 @@ public class XxlJobServiceImpl implements IXxlJobService {
String qz_name = String.valueOf(jobInfo.getId());
try {
XxlJobDynamicScheduler.addJob(qz_name, qz_group, jobInfo.getJobCron());
XxlJobDynamicScheduler.pauseJob(qz_name, qz_group);
//XxlJobDynamicScheduler.pauseJob(qz_name, qz_group);
return ReturnT.SUCCESS;
} catch (SchedulerException e) {
logger.error("", e);

Loading…
Cancel
Save