暂停预警定时任务
This commit is contained in:
@@ -71,7 +71,7 @@ public class ScheduledJob {
|
|||||||
private IWarningDateService iWarningDateService;// 预警日期
|
private IWarningDateService iWarningDateService;// 预警日期
|
||||||
|
|
||||||
// @PostConstruct //程序启动时执行一次
|
// @PostConstruct //程序启动时执行一次
|
||||||
@Scheduled(cron = "0 0 0 * * ?") //每天的凌晨0点执行
|
// @Scheduled(cron = "0 0 0 * * ?") //每天的凌晨0点执行
|
||||||
// @Scheduled(cron="*/5 * * * * ?")
|
// @Scheduled(cron="*/5 * * * * ?")
|
||||||
// @Scheduled(fixedDelay = 120000)
|
// @Scheduled(fixedDelay = 120000)
|
||||||
@Async
|
@Async
|
||||||
|
|||||||
Reference in New Issue
Block a user