|
@@ -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();
|