定时任务时间调整

This commit is contained in:
xy
2025-07-08 10:11:14 +08:00
parent 0a06d2d5eb
commit 45f706475b

View File

@@ -31,7 +31,7 @@ public class DayDataJob {
* *
* @date 2025/7/1 * @date 2025/7/1
*/ */
@Scheduled(cron = "0 45 9 * * ?") @Scheduled(cron = "0 0 1 * * ?")
public void lineIntegrityJob() { public void lineIntegrityJob() {
StatisticsDataParam param = new StatisticsDataParam(); StatisticsDataParam param = new StatisticsDataParam();
LocalDate yesterday = LocalDate.now().minusDays(1); LocalDate yesterday = LocalDate.now().minusDays(1);
@@ -48,7 +48,7 @@ public class DayDataJob {
* *
* @date 2025/7/1 * @date 2025/7/1
*/ */
@Scheduled(cron = "0 46 9 * * ?") @Scheduled(cron = "0 30 1 * * ?")
public void devOnlineRateJob() { public void devOnlineRateJob() {
StatisticsDataParam param = new StatisticsDataParam(); StatisticsDataParam param = new StatisticsDataParam();
LocalDate yesterday = LocalDate.now().minusDays(1); LocalDate yesterday = LocalDate.now().minusDays(1);