From 93c7cd8adad259e36c8ed66f5854fcb51f8888b4 Mon Sep 17 00:00:00 2001 From: sjh Date: Fri, 18 Oct 2024 16:14:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A8=A1=E5=9E=8B1=EF=BC=9A?= =?UTF-8?q?=E6=A1=88=E4=BB=B6=E8=AD=A6=E6=83=85=E7=96=91=E4=BC=BC=E6=9C=AA?= =?UTF-8?q?=E5=8F=8A=E6=97=B6=E5=8F=97=E7=90=86=E6=A1=88=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/biutag/supervision/job/Job.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/biutag/supervision/job/Job.java b/src/main/java/com/biutag/supervision/job/Job.java index 28d13d5..20d8558 100644 --- a/src/main/java/com/biutag/supervision/job/Job.java +++ b/src/main/java/com/biutag/supervision/job/Job.java @@ -80,7 +80,7 @@ public class Job { } // 每日04:00更新基础数据 - @Scheduled(cron = "0 0 4 * * ?") +// @Scheduled(cron = "0 0 4 * * ?") public void updateBaseData() { List happenTime = new ArrayList<>(); Date start = Date.from(LocalDateTime.now().minusDays(1).withHour(0).withMinute(0).withSecond(0).withNano(0).atZone(ZoneId.systemDefault()).toInstant()); @@ -91,7 +91,7 @@ public class Job { businessPoliceService.generate(happenTime); } - @Scheduled(cron = "0 0 5 * * ?") +// @Scheduled(cron = "0 0 5 * * ?") public void executeModel() { modelClueService.generate(7); }