master
admin 2 years ago
parent 57e2e4d407
commit 410a392786

@ -36,7 +36,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");

Loading…
Cancel
Save