feat: There is no way the oa add endTime

This commit is contained in:
super_liu
2021-10-13 17:55:34 +08:00
parent fdcc307886
commit 180cecae8f
11 changed files with 108 additions and 3 deletions
@@ -41,8 +41,8 @@ public class ScheduledJob {
@Value("${isNotScheduled}")
private boolean isNotScheduled; //是否开启定时器
@Scheduled(cron = "0 0 0 * * ?") //每天的凌晨0点执行
// @Scheduled(cron="*/5 * * * * ?")
// @Scheduled(cron = "0 0 0 * * ?") //每天的凌晨0点执行
@Scheduled(cron="*/5 * * * * ?")
@Async
public void SchedulingTask() {
if(isNotScheduled){