|
|
|
@ -25,7 +25,7 @@ public class DailyReportGenerationTask {
|
|
|
|
|
@Resource
|
|
|
|
|
private SynchronizedScheduler synchronizedScheduler;
|
|
|
|
|
|
|
|
|
|
@Scheduled(cron = "0 0 10 * * ?")
|
|
|
|
|
@Scheduled(cron = "0 0 9 * * ?")
|
|
|
|
|
public void dailyReportAutoGenerateReport() {
|
|
|
|
|
synchronizedScheduler.executeProcess("manage_task:dailyReportAutoGenerateReport", 120_000, () -> {
|
|
|
|
|
Date yesterday = DateUtils.addDays(new Date(), -1);
|
|
|
|
|