Merge remote-tracking branch 'origin/master'

master
chengqf 2 years ago
commit d319f21643

@ -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 0/1 * * * ?";
String cron = scheduledEntity != null ? scheduledEntity.getCron() : "0 0/59 * * * ?";
if (cron.isEmpty()) {
logger.error("cron is null");

Loading…
Cancel
Save