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); }