Commit 32e0f6c9 authored by 董建华's avatar 董建华

跑数据

parent 3901717e
......@@ -38,7 +38,7 @@ public class ReportTimer {
}
//每天凌晨2点
@Scheduled(cron = "0 0 2 * * ?")
// @Scheduled(cron = "0 0 2 * * ?")
void reportDayData() {
if (!isRun) {
return;
......@@ -59,7 +59,7 @@ public class ReportTimer {
}
//每月1次
@Scheduled(cron = "0 0 3 1 1/1 ?")
// @Scheduled(cron = "0 0 3 1 1/1 ?")
void reportMonthData() {
if (!isRun) {
return;
......@@ -75,7 +75,7 @@ public class ReportTimer {
}
//一小时一次 延迟10秒
@Scheduled(fixedDelay = 1000 * 60 * 60, initialDelay = 10000)
// @Scheduled(fixedDelay = 1000 * 60 * 60, initialDelay = 10000)
public void quaryReportedStatus() {
//测试先去掉这个限制
if (!isRun) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment