diff --git a/src/main/java/com/genersoft/iot/vmp/conf/CloudRecordTimer.java b/src/main/java/com/genersoft/iot/vmp/conf/CloudRecordTimer.java index 78272c92..111077b5 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/CloudRecordTimer.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/CloudRecordTimer.java @@ -41,8 +41,8 @@ public class CloudRecordTimer { /** * 定时查询待删除的录像文件 */ - @Scheduled(fixedRate = 5000) //每五秒执行一次,方便测试 -// @Scheduled(cron = "0 0 0 * * ?") //每天的0点执行 +// @Scheduled(fixedRate = 5000) //每五秒执行一次,方便测试 + @Scheduled(cron = "0 0 0 * * ?") //每天的0点执行 public void execute(){ logger.info("[录像文件定时清理] 开始清理过期录像文件"); // 获取配置了assist的流媒体节点