| Line 432... |
Line 432... |
| 432 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
432 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 433 |
|
433 |
|
| 434 |
log.info("endTime" + LocalDateTime.now());
|
434 |
log.info("endTime" + LocalDateTime.now());
|
| 435 |
}
|
435 |
}
|
| 436 |
|
436 |
|
| 437 |
@Scheduled(cron = "0 0 8 * * *")
|
437 |
// @Scheduled(cron = "0 0 8 * * *")
|
| 438 |
public void advancePaymentPendingAlert() throws Throwable {
|
438 |
// public void advancePaymentPendingAlert() throws Throwable {
|
| 439 |
log.info("startTime" + LocalDateTime.now());
|
439 |
// log.info("startTime" + LocalDateTime.now());
|
| 440 |
|
440 |
//
|
| 441 |
LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
441 |
// LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
| 442 |
propertiesDetails.put("advancePaymentPendingAlert", "0");
|
442 |
// propertiesDetails.put("advancePaymentPendingAlert", "0");
|
| 443 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
443 |
// writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 444 |
|
444 |
//
|
| 445 |
onBoardingRelatedSchelduleTask.advancePaymentPendingAlert();
|
445 |
// onBoardingRelatedSchelduleTask.advancePaymentPendingAlert();
|
| 446 |
propertiesDetails.put("advancePaymentPendingAlert", "1");
|
446 |
// propertiesDetails.put("advancePaymentPendingAlert", "1");
|
| 447 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
447 |
// writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 448 |
|
448 |
//
|
| 449 |
log.info("endTime" + LocalDateTime.now());
|
449 |
// log.info("endTime" + LocalDateTime.now());
|
| 450 |
}
|
450 |
// }
|
| 451 |
|
451 |
|
| 452 |
@Scheduled(cron = "0 0 8 * * *")
|
452 |
@Scheduled(cron = "0 0 8 * * *")
|
| 453 |
public void fullPaymentPendingAlert() throws Throwable {
|
453 |
public void fullPaymentPendingAlert() throws Throwable {
|
| 454 |
log.info("startTime" + LocalDateTime.now());
|
454 |
log.info("startTime" + LocalDateTime.now());
|
| 455 |
|
455 |
|
| Line 463... |
Line 463... |
| 463 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
463 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 464 |
|
464 |
|
| 465 |
log.info("endTime" + LocalDateTime.now());
|
465 |
log.info("endTime" + LocalDateTime.now());
|
| 466 |
}
|
466 |
}
|
| 467 |
|
467 |
|
| 468 |
@Scheduled(cron = "0 0 9 * * *")
|
468 |
// @Scheduled(cron = "0 0 9 * * *")
|
| 469 |
public void advancePaymentPendinglegalAlert() throws Throwable {
|
469 |
// public void advancePaymentPendinglegalAlert() throws Throwable {
|
| 470 |
log.info("startTime" + LocalDateTime.now());
|
470 |
// log.info("startTime" + LocalDateTime.now());
|
| 471 |
LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
471 |
// LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
| 472 |
propertiesDetails.put("advancePaymentPendinglegalAlert", "0");
|
472 |
// propertiesDetails.put("advancePaymentPendinglegalAlert", "0");
|
| 473 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
473 |
// writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 474 |
|
474 |
//
|
| 475 |
onBoardingRelatedSchelduleTask.advancePaymentPendinglegalAlert();
|
475 |
//// onBoardingRelatedSchelduleTask.advancePaymentPendinglegalAlert();
|
| 476 |
|
476 |
//
|
| 477 |
propertiesDetails.put("advancePaymentPendinglegalAlert", "1");
|
477 |
// propertiesDetails.put("advancePaymentPendinglegalAlert", "1");
|
| 478 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
478 |
// writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 479 |
|
479 |
//
|
| 480 |
log.info("endTime" + LocalDateTime.now());
|
480 |
// log.info("endTime" + LocalDateTime.now());
|
| 481 |
}
|
481 |
// }
|
| 482 |
|
482 |
|
| 483 |
@Scheduled(cron = "0 */5 * * * *")
|
483 |
@Scheduled(cron = "0 */5 * * * *")
|
| 484 |
public void onBoardingCompleteEventEmail() throws Throwable {
|
484 |
public void onBoardingCompleteEventEmail() throws Throwable {
|
| 485 |
log.info("startTime" + LocalDateTime.now());
|
485 |
log.info("startTime" + LocalDateTime.now());
|
| 486 |
LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
486 |
LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
| Line 504... |
Line 504... |
| 504 |
@Scheduled(fixedDelay = 30 * 60 * 1000, initialDelay = 15 * 60 * 1000)
|
504 |
@Scheduled(fixedDelay = 30 * 60 * 1000, initialDelay = 15 * 60 * 1000)
|
| 505 |
public void fetchPartnerStat() throws Throwable {
|
505 |
public void fetchPartnerStat() throws Throwable {
|
| 506 |
scheduledTasks.fetchParnterStats();
|
506 |
scheduledTasks.fetchParnterStats();
|
| 507 |
}
|
507 |
}
|
| 508 |
|
508 |
|
| 509 |
@Scheduled(cron = "0 0 9 * * *")
|
509 |
// @Scheduled(cron = "0 0 9 * * *")
|
| 510 |
public void storeTimelinePromoterPending() throws Throwable {
|
510 |
// public void storeTimelinePromoterPending() throws Throwable {
|
| 511 |
log.info("startTime" + LocalDateTime.now());
|
511 |
// log.info("startTime" + LocalDateTime.now());
|
| 512 |
|
512 |
//
|
| 513 |
LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
513 |
// LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
| 514 |
propertiesDetails.put("storeTimelinePromoterPending", "0");
|
514 |
// propertiesDetails.put("storeTimelinePromoterPending", "0");
|
| 515 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
515 |
// writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 516 |
|
516 |
//
|
| 517 |
onBoardingRelatedSchelduleTask.storeTimelinePromoterPending();
|
517 |
//// onBoardingRelatedSchelduleTask.storeTimelinePromoterPending();
|
| 518 |
propertiesDetails.put("storeTimelinePromoterPending", "1");
|
518 |
// propertiesDetails.put("storeTimelinePromoterPending", "1");
|
| 519 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
519 |
// writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 520 |
|
520 |
//
|
| 521 |
log.info("endTime" + LocalDateTime.now());
|
521 |
// log.info("endTime" + LocalDateTime.now());
|
| 522 |
}
|
522 |
// }
|
| 523 |
|
523 |
|
| 524 |
@Scheduled(cron = "0 0 23 * * *")
|
524 |
@Scheduled(cron = "0 0 23 * * *")
|
| 525 |
public void checkItelImeiActivationNew() throws Throwable {
|
525 |
public void checkItelImeiActivationNew() throws Throwable {
|
| 526 |
log.info("startTime" + LocalDate.now());
|
526 |
log.info("startTime" + LocalDate.now());
|
| 527 |
|
527 |
|