定时任务改为八点
This commit is contained in:
@@ -22,7 +22,7 @@ public class StatisticTask {
|
||||
private ShopOrderStatisticService shopOrderStatisticService;
|
||||
|
||||
// @Scheduled(cron = "1/6 * * * * ? ")
|
||||
@Scheduled(cron = "0 0 9 * * ?")
|
||||
@Scheduled(cron = "0 0 8 * * ?")
|
||||
public void run() {
|
||||
long start = System.currentTimeMillis();
|
||||
log.info("定时任务执行,开始统计数据");
|
||||
|
||||
Reference in New Issue
Block a user