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("============定时发送今日交通到期提醒==========");