From 4c0a960f72e6e421facf04ada32876f079ae1934 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Fri, 1 Nov 2019 17:04:59 +0800 Subject: [PATCH] update document --- .../java/com/xxl/job/admin/core/thread/JobScheduleHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobScheduleHelper.java b/xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobScheduleHelper.java index 9b1aa3ed..8e451c53 100644 --- a/xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobScheduleHelper.java +++ b/xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobScheduleHelper.java @@ -270,8 +270,8 @@ public class JobScheduleHelper { ringThread.start(); } - private void refreshNextValidTime(XxlJobInfo jobInfo, Date date) throws ParseException { - Date nextValidTime = new CronExpression(jobInfo.getJobCron()).getNextValidTimeAfter(date); + private void refreshNextValidTime(XxlJobInfo jobInfo, Date fromTime) throws ParseException { + Date nextValidTime = new CronExpression(jobInfo.getJobCron()).getNextValidTimeAfter(fromTime); if (nextValidTime != null) { jobInfo.setTriggerLastTime(jobInfo.getTriggerNextTime()); jobInfo.setTriggerNextTime(nextValidTime.getTime());