Skip to content

Commit

Permalink
新建任务默认为正常状态
Browse files Browse the repository at this point in the history
  • Loading branch information
xueli.xue committed May 11, 2017
1 parent 17e7dd5 commit 2b8f968
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public ReturnT<String> add(XxlJobInfo jobInfo) {
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);
Expand Down

0 comments on commit 2b8f968

Please sign in to comment.