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