james 1 year ago
parent
commit
57d9277995

+ 1 - 1
service-meeting/service-meeting-biz/src/main/java/com/usky/meeting/controller/web/TaskController.java

@@ -12,7 +12,7 @@ public class TaskController {
     @Autowired
     private MeetingInfoService meetingInfoService;
 
-    @Scheduled(cron = "0 16,31 * * * ? ") //每小时第1分钟和第31分钟各执行一次
+    @Scheduled(cron = "0 1,31 * * * ? ") //每小时第1分钟和第31分钟各执行一次
     public void task(){
         System.out.println(Thread.currentThread().getName()+"定时任务执行中");
         meetingInfoService.updateMeetingInfoStatus();