소스 검색

删除定时任务

xiaochan 1 개월 전
부모
커밋
f4a5ac7f06
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/main/java/thyyxxk/webserver/service/settings/SchedulingClass/SchedulingClassService.java

+ 0 - 2
src/main/java/thyyxxk/webserver/service/settings/SchedulingClass/SchedulingClassService.java

@@ -36,7 +36,6 @@ public class SchedulingClassService {
     private final JcptMobile jcptMobile;
     private final JcptMobileService mobileService;
 
-    //    @Scheduled(cron = "0 0 1 20 * ?")
     public void create() {
         DateTime now = DateTime.now();
         // 获取下一个月的日期
@@ -45,7 +44,6 @@ public class SchedulingClassService {
         createByMonth(nextMonth);
     }
 
-    //    @Scheduled(cron = "0 20 17 * * ?")
     public void sendMessageData() {
         String now = DateUtil.format(DateTime.now(), "yyyy-MM-dd");
         SchedulingClass schedulingClass = dao.selectOne(SchedulingClass.lambdaQueryWrapper().eq(SchedulingClass::getSchedulingDate, now));