You've already forked FrameTour-BE
fix(task): 修改景区统计数据统计时间
- 移除旧的定时任务配置 (0 0 3 * * *) - 更新为新的定时任务配置 (0 1 0 * * *),每天凌晨执行
This commit is contained in:
@@ -60,7 +60,6 @@ public class ScenicStatsTask {
|
||||
});
|
||||
}
|
||||
}
|
||||
@Scheduled(cron = "0 0 3 * * *")
|
||||
@Scheduled(cron = "0 1 0 * * *")
|
||||
public void countScenicStats() {
|
||||
log.info("开始执行景区统计任务,统计前7天至昨天的数据");
|
||||
|
||||
Reference in New Issue
Block a user