定时任务改为八点
This commit is contained in:
parent
c2bb72ebff
commit
36ddbba45e
|
|
@ -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("定时任务执行,开始统计数据");
|
||||
|
|
|
|||
Loading…
Reference in New Issue