提交 ac75266e 作者: xiaowang

定时器

上级 808ca2c5
...@@ -23,7 +23,7 @@ public class ManagerLogSchedule { ...@@ -23,7 +23,7 @@ public class ManagerLogSchedule {
/** /**
* 统计日活量 * 统计日活量
*/ */
@Scheduled(cron = "0 0 20 * * ?") @Scheduled(cron = "0 0 8 * * ?")
public void calculateActiveUserCount() { public void calculateActiveUserCount() {
log.info("统计日活量"); log.info("统计日活量");
Integer userActiveCount = userReportService.getUserActiveCount(); Integer userActiveCount = userReportService.getUserActiveCount();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论