Subversion Repositories SmartDukaan

Rev

Rev 29691 | Rev 29694 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29691 Rev 29693
Line 222... Line 222...
222
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
222
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
223
		propertiesDetails.put("sendNotification", "0");
223
		propertiesDetails.put("sendNotification", "0");
224
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
224
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
225
 
225
 
226
		scheduledTasks.sendNotification();
226
		scheduledTasks.sendNotification();
227
		propertiesDetails.put("sendNotification", "0");
227
		propertiesDetails.put("sendNotification", "1");
228
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
228
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
229
		log.info("send Notification Done");
229
		log.info("send Notification Done");
230
 
230
 
231
	}
231
	}
232
 
232