Browse Source

计划任务

qiangxuan 2 months ago
parent
commit
97bb8c4d8e

+ 3 - 3
zgztBus/jeecg-module-sbm/src/main/java/org/jeecg/modules/billet/billetHotsendChangeShift/controller/BilletHotsendChangeShiftController.java

@@ -424,7 +424,7 @@ public class BilletHotsendChangeShiftController extends JeecgController<BilletHo
 	}
 
 
-//	@Scheduled(cron = "5 0 0 * * ?")
+	@Scheduled(cron = "5 0 0 * * ?")
 	public void runAtMidnight() {
 		// 每天	00:00:05 执行的任务逻辑
 
@@ -446,7 +446,7 @@ public class BilletHotsendChangeShiftController extends JeecgController<BilletHo
 		executeShiftTask88();
 	}
 
-//	@Scheduled(cron = "0 5 8 * * ?")
+	@Scheduled(cron = "0 5 8 * * ?")
 	public void runAtEight() {
 		// 08:05:00 执行的任务逻辑
 
@@ -468,7 +468,7 @@ public class BilletHotsendChangeShiftController extends JeecgController<BilletHo
 		executeShiftTask88();
 	}
 
-//	@Scheduled(cron = "5 0 16 * * ?")
+	@Scheduled(cron = "5 0 16 * * ?")
 	public void runAtFourPm() {
 		// 16:00:05 执行的任务逻辑