@@ -25,7 +25,7 @@ public class InsureEmailSchedule {
//每小时执行1次
- @Scheduled(cron = "0 0/2 8-20 * * *")
+ @Scheduled(cron = "0 0/5 8,20 * * ?")
public void task() throws IOException {
agreementLogic.sendEmailSche();
agreementLogic.sendEmailScheEM();