This commit is contained in:
xy
2026-04-02 09:33:33 +08:00
parent dbe09d70f4
commit c0cccc3479
2 changed files with 5 additions and 2 deletions

View File

@@ -20,13 +20,13 @@ public class DataTask {
private final IDataTaskService taskService;
@Scheduled(cron = "0 0 2 * * ?")
@Scheduled(cron = "0 0 4 * * ?")
public void csHarmonicJob() {
String date = DateUtil.yesterday().toString(DatePattern.NORM_DATE_PATTERN);
taskService.channelHarmonic(date);
}
@Scheduled(cron = "0 0 3 * * ?")
@Scheduled(cron = "0 0 5 * * ?")
public void csAlarmJob() {
String date = DateUtil.yesterday().toString(DatePattern.NORM_DATE_PATTERN);
taskService.channelRunAlarm(date);