Skip to content

Commit

Permalink
1.7版本发布,详情查看版本说明
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengjie committed Apr 11, 2019
1 parent 9f43851 commit e60a02f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public void updateJobCron(QuartzJob quartzJob){
trigger = trigger.getTriggerBuilder().withIdentity(triggerKey).withSchedule(scheduleBuilder).build();
//重置启动时间
((CronTriggerImpl)trigger).setStartTime(new Date());
trigger.getJobDataMap().put(QuartzJob.JOB_KEY,quartzJob);

scheduler.rescheduleJob(triggerKey, trigger);
// 暂停任务
Expand Down

0 comments on commit e60a02f

Please sign in to comment.