|
@@ -25,14 +25,14 @@ public class InsureEmailSchedule {
|
|
|
|
|
|
|
|
|
//每小时执行1次
|
|
|
- @Scheduled(fixedDelay =60* 1000)
|
|
|
+ // @Scheduled(fixedDelay =60* 1000)
|
|
|
public void task() throws IOException {
|
|
|
agreementLogic.sendEmailSche();
|
|
|
}
|
|
|
|
|
|
|
|
|
//监测今天是否有回执邮件,如果有则表示今天买保险的回执成功
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ // @Scheduled(fixedDelay = 60* 1000)
|
|
|
public void task2() throws IOException, MessagingException {
|
|
|
agreementLogic.receEmail();
|
|
|
}
|