新增23:40报数的任务

This commit is contained in:
zayac 2024-06-08 23:50:04 +08:00
parent 92607bcaee
commit 4bbfdb4688

View File

@ -143,7 +143,7 @@ public class DailyReport {
}
// 一小时发送一次
@Scheduled(cron = "0 0 * * * ?")
@Scheduled(cron = "0 0 * * * ?, 0 40 23 * * ?")
public void generateTeamReportTask() {
LocalDateTime nowDateTime = LocalDateTime.now();
LocalDate nowDate = LocalDate.now();