You've already forked FrameTour-BE
修改定时执行时间
This commit is contained in:
@@ -32,7 +32,7 @@ public class ScenicStatsTask {
|
||||
private AppStatisticsService statisticsService;
|
||||
@Autowired
|
||||
private ScenicMapper scenicMapper;
|
||||
@Scheduled(cron = "0 10 0 * * *")
|
||||
@Scheduled(cron = "0 1 0 * * *")
|
||||
public void countDeviceStats() {
|
||||
Date yesterdayStart = DateUtil.beginOfDay(DateUtil.yesterday());
|
||||
Date yesterdayEnd = DateUtil.endOfDay(yesterdayStart);
|
||||
|
Reference in New Issue
Block a user