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