| Line 195... |
Line 195... |
| 195 |
|
195 |
|
| 196 |
propertiesDetails.put("updatePartnerActivationTypeByMonthlySale", "1");
|
196 |
propertiesDetails.put("updatePartnerActivationTypeByMonthlySale", "1");
|
| 197 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
197 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| 198 |
}
|
198 |
}
|
| 199 |
|
199 |
|
| - |
|
200 |
// 23:45 — after updatePartnerActivationTypeByMonthlySale (23:30), so the
|
| - |
|
201 |
// REVIVAL agenda mirror reads today's activation_type state.
|
| - |
|
202 |
@Scheduled(cron = "0 45 23 * * *")
|
| - |
|
203 |
public void updatePjpAgendaInstances() throws Exception {
|
| - |
|
204 |
LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
| - |
|
205 |
propertiesDetails.put("updatePjpAgendaInstances", "0");
|
| - |
|
206 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| - |
|
207 |
|
| - |
|
208 |
scheduledTasks.updatePjpAgendaInstances();
|
| - |
|
209 |
|
| - |
|
210 |
propertiesDetails.put("updatePjpAgendaInstances", "1");
|
| - |
|
211 |
writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
|
| - |
|
212 |
}
|
| - |
|
213 |
|
| 200 |
// @Scheduled(cron = "0 0 8 * * *")
|
214 |
// @Scheduled(cron = "0 0 8 * * *")
|
| 201 |
public void sendStockAgeingReport() throws Throwable {
|
215 |
public void sendStockAgeingReport() throws Throwable {
|
| 202 |
|
216 |
|
| 203 |
LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
217 |
LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
|
| 204 |
propertiesDetails.put("sendStockAgeingReport", "0");
|
218 |
propertiesDetails.put("sendStockAgeingReport", "0");
|