src/main/java/com/boying/job/GetEticketScheduled.java
@@ -39,7 +39,7 @@ private SystemConfigProperties systemConfigProperties; private Boolean taskFlag = false; @Scheduled(cron = "0 0/1 * * * ?") //@Scheduled(cron = "0 0/1 * * * ?") public void execute() throws Exception { if (taskFlag == true) { System.out.println("正在运行,强制退出-------》");