version1
admin 2 years ago
parent 87deac1d6e
commit 0a69167cb8

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

Loading…
Cancel
Save