Kaynağa Gözat

Merge remote-tracking branch 'origin/main'

zhanghao 2 gün önce
ebeveyn
işleme
87982887db

+ 4 - 4
src/main/java/com/sckj/project/task/ProjectTaskController.java

@@ -42,7 +42,7 @@ public class ProjectTaskController {
     /**
      *  后勤资源监控
      */
-    @Scheduled(cron = "0 0/20 06-19 * * ?")
+    @Scheduled(cron = "0 0/20 6-19 * * ?")
     public void taskLogistics(){
         log.info("后勤资源监控定时任务开始执行");
         logisticsTaskService.myTask();
@@ -53,7 +53,7 @@ public class ProjectTaskController {
     /**
      *  楼宇运行监控
      */
-    @Scheduled(cron = "0 0/20 06-19 * * ?")
+    @Scheduled(cron = "0 0/20 6-19 * * ?")
     public void taskBuilding(){
         log.info("楼宇运行监控定时任务开始执行");
         buildingTaskService.myTask();
@@ -63,7 +63,7 @@ public class ProjectTaskController {
     /**
      *  工程现场监控
      */
-    @Scheduled(cron = "0 0/30 06-19 * * ?")
+    @Scheduled(cron = "0 0/30 6-19 * * ?")
     public void taskEngineering(){
         log.info("工程现场监控定时任务开始执行");
         engineeringTaskService.myTask();
@@ -73,7 +73,7 @@ public class ProjectTaskController {
     /**
      *  公务用车
      */
-    @Scheduled(cron = "0 0/30 06-19 * * ?")
+    @Scheduled(cron = "0 0/30 6-19 * * ?")
     public void taskCar(){
         log.info("公务用车定时任务开始执行");
         carTaskService.myTask();