123
This commit is contained in:
@@ -15,7 +15,7 @@ public class IncomeStatisticsJob {
|
||||
private DayIncomeStatisticsService dayIncomeStatisticsService;
|
||||
|
||||
// 每6分钟执行一次
|
||||
@Scheduled(cron = "0 0/3 * * * ?")
|
||||
@Scheduled(cron = "0 0/6 * * * ?")
|
||||
public void persistentDb() {
|
||||
try {
|
||||
dayIncomeStatisticsService.refreshByDate(LocalDate.now());
|
||||
|
||||
Reference in New Issue
Block a user