This commit is contained in:
van
2026-04-23 16:06:33 +08:00
parent 0ff357148b
commit 256b54ffab
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ public class JarvisGoofishProperties {
private int pullLookbackHours = 72;
/** 拉单定时 cron */
private String pullCron = "0 0/10 * * * ?";
private String pullCron = "0 * * * * ?";
/** 同步运单 + 自动发货 cron */
private String autoShipCron = "0 2/10 * * * ?";

View File

@@ -29,7 +29,7 @@ public class GoofishScheduledTasks {
@Resource
private JarvisGoofishProperties goofishProperties;
@Scheduled(cron = "${jarvis.goofish-order.pull-cron:0 0/10 * * * ?}")
@Scheduled(cron = "${jarvis.goofish-order.pull-cron:0 * * * * ?}")
public void scheduledPull() {
List<ErpOpenConfig> cfgs = erpOpenConfigService.selectEnabledOrderBySort();
if (cfgs == null || cfgs.isEmpty()) {