1
This commit is contained in:
@@ -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 * * * ?";
|
||||
|
||||
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user