From 0a69167cb89b74da31b6420b9bdfa5820d1ac6cb Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 2 Apr 2023 09:18:14 +0800 Subject: [PATCH] cron --- .../java/com/glxp/sale/admin/idc/thread/AsyncFetchTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-admin/src/main/java/com/glxp/sale/admin/idc/thread/AsyncFetchTask.java b/api-admin/src/main/java/com/glxp/sale/admin/idc/thread/AsyncFetchTask.java index 5246a0e..08772c2 100644 --- a/api-admin/src/main/java/com/glxp/sale/admin/idc/thread/AsyncFetchTask.java +++ b/api-admin/src/main/java/com/glxp/sale/admin/idc/thread/AsyncFetchTask.java @@ -35,7 +35,7 @@ public class AsyncFetchTask implements SchedulingConfigurer { scheduledRequest.setCronName("syncFetch"); logger.info("syncFetch----------------"); ScheduledEntity scheduledEntity = scheduledDao.findScheduled(scheduledRequest); - String cron = scheduledEntity!=null ? scheduledEntity.getCron() : "* 3/30 * * * ?"; + String cron = scheduledEntity!=null ? scheduledEntity.getCron() : "* 0/5 * * * ?"; if (cron.isEmpty()) { logger.error("cron is null");