| Line 362... |
Line 362... |
| 362 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
362 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 363 |
|
363 |
|
| 364 |
log.info("endTime" + LocalDateTime.now());
|
364 |
log.info("endTime" + LocalDateTime.now());
|
| 365 |
}
|
365 |
}
|
| 366 |
|
366 |
|
| 367 |
@Scheduled(cron = "0 30 10 * * MON-SAT")
|
367 |
/*@Scheduled(cron = "0 30 10 * * MON-SAT")
|
| 368 |
public void sendMorningAttendanceAlert() throws Throwable {
|
368 |
public void sendMorningAttendanceAlert() throws Throwable {
|
| 369 |
log.info("startTime" + LocalDateTime.now());
|
369 |
log.info("startTime" + LocalDateTime.now());
|
| 370 |
LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
370 |
LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
| 371 |
propertiesDetails.put("sendMorningAttendanceAlert", "0");
|
371 |
propertiesDetails.put("sendMorningAttendanceAlert", "0");
|
| 372 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
372 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| Line 388... |
Line 388... |
| 388 |
scheduledTasks.sendAttendanceEveningAlert();
|
388 |
scheduledTasks.sendAttendanceEveningAlert();
|
| 389 |
propertiesDetails.put("sendEveningAttendanceAlert", "1");
|
389 |
propertiesDetails.put("sendEveningAttendanceAlert", "1");
|
| 390 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
390 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 391 |
|
391 |
|
| 392 |
log.info("endTime" + LocalDateTime.now());
|
392 |
log.info("endTime" + LocalDateTime.now());
|
| 393 |
}
|
393 |
}*/
|
| 394 |
|
394 |
|
| 395 |
@Scheduled(cron = "0 0 7 * * *")
|
395 |
@Scheduled(cron = "0 0 7 * * *")
|
| 396 |
public void onboardingEventDelays() throws Throwable {
|
396 |
public void onboardingEventDelays() throws Throwable {
|
| 397 |
log.info("startTime" + LocalDateTime.now());
|
397 |
log.info("startTime" + LocalDateTime.now());
|
| 398 |
|
398 |
|