提交代码

dev
胡锐 3 months ago
parent c7d2595f35
commit 4e4deb398e
  1. 2
      schedule/src/main/java/com/hfkj/schedule/GasOilPriceSchedule.java

@ -21,7 +21,7 @@ public class GasOilPriceSchedule {
@Resource @Resource
private BsGasOilPriceWeekService gasOilPriceWeekService; private BsGasOilPriceWeekService gasOilPriceWeekService;
@Scheduled(cron = "3 0 0 * * ?") // 每日凌晨00:00:03 执行一次 @Scheduled(cron = "0 0 0 * * ?") // 每日凌晨00:00:00 执行一次
public void newLinkGasSchedule() { public void newLinkGasSchedule() {
try { try {
// 更新价格 // 更新价格

Loading…
Cancel
Save