|
@@ -34,14 +34,14 @@ public class InsureEmailSchedule {
|
|
|
|
|
|
|
|
|
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task2() throws IOException, MessagingException {
|
|
|
agreementLogic.receEmail();
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task3(){
|
|
|
agreementLogic.offInsure();
|
|
|
}
|
|
@@ -55,7 +55,7 @@ public class InsureEmailSchedule {
|
|
|
|
|
|
|
|
|
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task5(){
|
|
|
agreementLogic.task5();
|
|
|
}
|
|
@@ -63,20 +63,20 @@ public class InsureEmailSchedule {
|
|
|
|
|
|
|
|
|
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task6(){
|
|
|
agreementLogic.task6();
|
|
|
}
|
|
|
|
|
|
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task7(){
|
|
|
agreementLogic.task7();
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task8(){
|
|
|
agreementLogic.task8();
|
|
|
}
|