Browse Source

删除定时任务

xiaochan 1 month ago
parent
commit
f4a5ac7f06

+ 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));