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