|
|
|
@ -64,6 +64,9 @@ public class CleanLogTask implements SchedulingConfigurer {
|
|
|
|
|
ScheduledRequest scheduledRequest = new ScheduledRequest();
|
|
|
|
|
scheduledRequest.setCronName("clean_log_task");
|
|
|
|
|
ScheduledEntity scheduledEntity = scheduledDao.findScheduled(scheduledRequest);
|
|
|
|
|
if (scheduledEntity == null) {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
String cron = scheduledEntity.getCron();
|
|
|
|
|
if (StrUtil.isBlank(cron)) {
|
|
|
|
|
log.error("清理日志定时任务参数未配置");
|
|
|
|
|