123
This commit is contained in:
@@ -13,7 +13,7 @@ import java.time.LocalDate;
|
||||
public class IncomeStatisticsJob {
|
||||
@Autowired
|
||||
private DayIncomeStatisticsService dayIncomeStatisticsService;
|
||||
@Scheduled(cron = "0 0/6 * * * ? *")
|
||||
@Scheduled(cron = "0 0/6 * * * ?")
|
||||
public void persistentDb() {
|
||||
try {
|
||||
dayIncomeStatisticsService.refreshByDate(LocalDate.now());
|
||||
|
||||
Reference in New Issue
Block a user