diff --git a/adc-da-report/src/main/java/com/adc/da/report/Timer/secrecyDDLTimer.java b/adc-da-report/src/main/java/com/adc/da/report/Timer/secrecyDDLTimer.java index 0811058..47567f6 100644 --- a/adc-da-report/src/main/java/com/adc/da/report/Timer/secrecyDDLTimer.java +++ b/adc-da-report/src/main/java/com/adc/da/report/Timer/secrecyDDLTimer.java @@ -29,9 +29,9 @@ public class secrecyDDLTimer { @Autowired IReportServiceImpl iReportService; -// @Scheduled(cron="0 0 0 * * *") // @Scheduled(cron="0 0/1 * * * ?") - @Scheduled(cron="0 0/10 * * * ?") +// @Scheduled(cron="0 0/10 * * * ?") + @Scheduled(cron="0 1 0 * * *") //每晚1点执行 public void timingOpen() { log.info("**********************保密到期定时任务开始**********************"); List entity = reportDao.selectDDL();