#
zjj
4 天以前 ab0193f955b64f5ab8636c46b5d1f0f86fde8806
src/main/java/com/zy/asrs/task/TaskLogScheduler.java
@@ -244,7 +244,16 @@
        try {
            apiLogService.clearWeekBefore();
        } catch (Exception e) {
            log.error("第三方接口日志自动清除失败(范围:一周之前", e);
            log.error("第三方接口日志自动清除失败(范围:一月之前)", e);
        }
    }
    @Scheduled(cron = "0 0/10 * * * ? ")
    public void clearCommandInfo(){
        try {
            commandInfoService.clearCommandInfo();
        } catch (Exception e) {
            log.error("异常指令自动清除失败(范围:任务表为空时清理", e);
        }
    }