Upd:修改定时任务时间

master
duLingLing 5 years ago
parent 52091e5de8
commit 608652d093

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>1.1.18</version>
<version>1.1.19</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

@ -24,7 +24,7 @@ public class DBSaleAnalysisTask {
@Resource
private BDAnalysisService bdAnalysisService;
@Scheduled(cron = "0 0 10 * * ?")
@Scheduled(cron = "0 0 1 * * ?")
public void dailyReportAutoGenerateReport() {
synchronizedScheduler.executeProcess("manage_task:dailyDBSaleReportAutoGenerateReport", 120_000, () -> {
Date yesterday = DateUtils.addDays(new Date(), -1);

Loading…
Cancel
Save