From e3864bf760f1297cec44f177a8dec706f98fe201 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Wed, 17 Apr 2024 15:29:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F):=20=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=89=A7=E8=A1=8C=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/system/job/CleanHistoryJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/job/CleanHistoryJob.java b/backend/services/system-setting/src/main/java/io/metersphere/system/job/CleanHistoryJob.java index f57adb0550..cd580c68ce 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/job/CleanHistoryJob.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/job/CleanHistoryJob.java @@ -36,7 +36,7 @@ public class CleanHistoryJob { /** * 清理变更历史 每天凌晨两点执行 */ - @QuartzScheduled(cron = "0 34 13 * * ?") + @QuartzScheduled(cron = "0 0 2 * * ?") public void cleanupLog() { LogUtils.info("clean up history start."); SystemParameter parameter = systemParameterMapper.selectByPrimaryKey(ParamConstants.CleanConfig.OPERATION_HISTORY.getValue());