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 { // 更新价格