[修改] 保密到期 定时任务 每晚1点执行
This commit is contained in:
@@ -29,9 +29,9 @@ public class secrecyDDLTimer {
|
|||||||
@Autowired
|
@Autowired
|
||||||
IReportServiceImpl iReportService;
|
IReportServiceImpl iReportService;
|
||||||
|
|
||||||
// @Scheduled(cron="0 0 0 * * *")
|
|
||||||
// @Scheduled(cron="0 0/1 * * * ?")
|
// @Scheduled(cron="0 0/1 * * * ?")
|
||||||
@Scheduled(cron="0 0/10 * * * ?")
|
// @Scheduled(cron="0 0/10 * * * ?")
|
||||||
|
@Scheduled(cron="0 1 0 * * *") //每晚1点执行
|
||||||
public void timingOpen() {
|
public void timingOpen() {
|
||||||
log.info("**********************保密到期定时任务开始**********************");
|
log.info("**********************保密到期定时任务开始**********************");
|
||||||
List<ReportEntity> entity = reportDao.selectDDL();
|
List<ReportEntity> entity = reportDao.selectDDL();
|
||||||
|
|||||||
Reference in New Issue
Block a user