From 4e4deb398ee2df91805cb45e4df53ed8ffc826ee Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Wed, 31 Jul 2024 14:51:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hfkj/schedule/GasOilPriceSchedule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedule/src/main/java/com/hfkj/schedule/GasOilPriceSchedule.java b/schedule/src/main/java/com/hfkj/schedule/GasOilPriceSchedule.java index 003536c..0de8d0d 100644 --- a/schedule/src/main/java/com/hfkj/schedule/GasOilPriceSchedule.java +++ b/schedule/src/main/java/com/hfkj/schedule/GasOilPriceSchedule.java @@ -21,7 +21,7 @@ public class GasOilPriceSchedule { @Resource private BsGasOilPriceWeekService gasOilPriceWeekService; - @Scheduled(cron = "3 0 0 * * ?") // 每日凌晨00:00:03 执行一次 + @Scheduled(cron = "0 0 0 * * ?") // 每日凌晨00:00:00 执行一次 public void newLinkGasSchedule() { try { // 更新价格