fix(系统): 定时任务执行时间

This commit is contained in:
WangXu10 2024-04-17 15:29:14 +08:00 committed by 刘瑞斌
parent 9dc624aead
commit e3864bf760
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class CleanHistoryJob {
/** /**
* 清理变更历史 每天凌晨两点执行 * 清理变更历史 每天凌晨两点执行
*/ */
@QuartzScheduled(cron = "0 34 13 * * ?") @QuartzScheduled(cron = "0 0 2 * * ?")
public void cleanupLog() { public void cleanupLog() {
LogUtils.info("clean up history start."); LogUtils.info("clean up history start.");
SystemParameter parameter = systemParameterMapper.selectByPrimaryKey(ParamConstants.CleanConfig.OPERATION_HISTORY.getValue()); SystemParameter parameter = systemParameterMapper.selectByPrimaryKey(ParamConstants.CleanConfig.OPERATION_HISTORY.getValue());