| Line 377... |
Line 377... |
| 377 |
* sendMorningAttendanceAlert() throws Throwable { log.info("startTime" +
|
377 |
* sendMorningAttendanceAlert() throws Throwable { log.info("startTime" +
|
| 378 |
* LocalDateTime.now()); LinkedHashMap<String, String> propertiesDetails = new
|
378 |
* LocalDateTime.now()); LinkedHashMap<String, String> propertiesDetails = new
|
| 379 |
* LinkedHashMap<>(); propertiesDetails.put("sendMorningAttendanceAlert", "0");
|
379 |
* LinkedHashMap<>(); propertiesDetails.put("sendMorningAttendanceAlert", "0");
|
| 380 |
* writeToPropertiesFile.saveParamChanges(propertiesDetails,
|
380 |
* writeToPropertiesFile.saveParamChanges(propertiesDetails,
|
| 381 |
* nagiosCronPropertiesFile);
|
381 |
* nagiosCronPropertiesFile);
|
| 382 |
*
|
382 |
*
|
| 383 |
* scheduledTasks.sendAttendanceMorningAlert();
|
383 |
* scheduledTasks.sendAttendanceMorningAlert();
|
| 384 |
* propertiesDetails.put("sendMorningAttendanceAlert", "1");
|
384 |
* propertiesDetails.put("sendMorningAttendanceAlert", "1");
|
| 385 |
* writeToPropertiesFile.saveParamChanges(propertiesDetails,
|
385 |
* writeToPropertiesFile.saveParamChanges(propertiesDetails,
|
| 386 |
* nagiosCronPropertiesFile);
|
386 |
* nagiosCronPropertiesFile);
|
| 387 |
*
|
387 |
*
|
| 388 |
* log.info("endTime" + LocalDateTime.now()); }
|
388 |
* log.info("endTime" + LocalDateTime.now()); }
|
| 389 |
*
|
389 |
*
|
| 390 |
* @Scheduled(cron = "0 30 20 * * MON-SAT") public void
|
390 |
* @Scheduled(cron = "0 30 20 * * MON-SAT") public void
|
| 391 |
* sendEveningAttendanceAlert() throws Throwable { log.info("startTime" +
|
391 |
* sendEveningAttendanceAlert() throws Throwable { log.info("startTime" +
|
| 392 |
* LocalDateTime.now()); LinkedHashMap<String, String> propertiesDetails = new
|
392 |
* LocalDateTime.now()); LinkedHashMap<String, String> propertiesDetails = new
|
| 393 |
* LinkedHashMap<>(); propertiesDetails.put("sendEveningAttendanceAlert", "0");
|
393 |
* LinkedHashMap<>(); propertiesDetails.put("sendEveningAttendanceAlert", "0");
|
| 394 |
* writeToPropertiesFile.saveParamChanges(propertiesDetails,
|
394 |
* writeToPropertiesFile.saveParamChanges(propertiesDetails,
|
| 395 |
* nagiosCronPropertiesFile);
|
395 |
* nagiosCronPropertiesFile);
|
| 396 |
*
|
396 |
*
|
| 397 |
* scheduledTasks.sendAttendanceEveningAlert();
|
397 |
* scheduledTasks.sendAttendanceEveningAlert();
|
| 398 |
* propertiesDetails.put("sendEveningAttendanceAlert", "1");
|
398 |
* propertiesDetails.put("sendEveningAttendanceAlert", "1");
|
| 399 |
* writeToPropertiesFile.saveParamChanges(propertiesDetails,
|
399 |
* writeToPropertiesFile.saveParamChanges(propertiesDetails,
|
| 400 |
* nagiosCronPropertiesFile);
|
400 |
* nagiosCronPropertiesFile);
|
| 401 |
*
|
401 |
*
|
| 402 |
* log.info("endTime" + LocalDateTime.now()); }
|
402 |
* log.info("endTime" + LocalDateTime.now()); }
|
| 403 |
*/
|
403 |
*/
|
| 404 |
|
404 |
|
| 405 |
@Scheduled(cron = "0 0 7 * * *")
|
405 |
@Scheduled(cron = "0 0 7 * * *")
|
| 406 |
public void onboardingEventDelays() throws Throwable {
|
406 |
public void onboardingEventDelays() throws Throwable {
|
| Line 601... |
Line 601... |
| 601 |
public void calculateInterestAccured() throws Throwable {
|
601 |
public void calculateInterestAccured() throws Throwable {
|
| 602 |
scheduledTasks.calculateInterestAccured();
|
602 |
scheduledTasks.calculateInterestAccured();
|
| 603 |
}
|
603 |
}
|
| 604 |
|
604 |
|
| 605 |
// @Scheduled(cron = "0 */5 2-22 * * *")
|
605 |
// @Scheduled(cron = "0 */5 2-22 * * *")
|
| 606 |
@Scheduled(fixedDelay = 5 * 60 * 1000)
|
606 |
//@Scheduled(fixedDelay = 5 * 60 * 1000)
|
| - |
|
607 |
@Scheduled(cron = "0 0 23 * * *")
|
| 607 |
public void loanSettlement() throws Throwable {
|
608 |
public void loanSettlement() throws Throwable {
|
| 608 |
scheduledTasks.loanSettlement();
|
609 |
scheduledTasks.loanSettlement();
|
| 609 |
}
|
610 |
}
|
| 610 |
|
611 |
|
| 611 |
@Scheduled(cron = "0 */15 * * * *")
|
612 |
@Scheduled(cron = "0 */15 * * * *")
|