master
admin 2 years ago
parent 9bf6d92fc4
commit 57e2e4d407

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

Loading…
Cancel
Save