master
admin 2 years ago
parent b0fec590fc
commit 5dd9aa3326

@ -37,7 +37,7 @@ public class AsyncUdiTask implements SchedulingConfigurer {
scheduledRequest.setCronName("syncIdcUdi");
logger.info("syncIdcUdi----------------");
ScheduledEntity scheduledEntity = scheduledDao.findScheduled(scheduledRequest);
String cron = scheduledEntity!=null ? scheduledEntity.getCron() : "35 * * * * ?";
String cron = scheduledEntity!=null ? scheduledEntity.getCron() : "* 0/3 * * * ?";
if (cron.isEmpty()) {
logger.error("cron is null");

Loading…
Cancel
Save