From a5c089f29c6b63ea404977fd85b5eb90dfd10465 Mon Sep 17 00:00:00 2001 From: wangpeng Date: Tue, 2 Jul 2024 14:15:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=9A=E6=97=B6=E5=99=A8?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scheduled/trafficRemind/TrafficRemindScheduled.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zcloud/scheduled/trafficRemind/TrafficRemindScheduled.java b/src/main/java/com/zcloud/scheduled/trafficRemind/TrafficRemindScheduled.java index 00e1d88..f922024 100644 --- a/src/main/java/com/zcloud/scheduled/trafficRemind/TrafficRemindScheduled.java +++ b/src/main/java/com/zcloud/scheduled/trafficRemind/TrafficRemindScheduled.java @@ -45,8 +45,8 @@ public class TrafficRemindScheduled { - @Scheduled(cron ="0/5 * * * * ?") // 测试5秒 - /*@Scheduled(cron ="0 0 8 * * ?")*/ // 每天8点 +// @Scheduled(cron ="0/5 * * * * ?") // 测试5秒 + @Scheduled(cron ="0 0 8 * * ?") // 每天8点 public void Scheduled(){ try { System.out.println("============定时发送今日交通到期提醒==========");