Subversion Repositories SmartDukaan

Rev

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

Rev 31723 Rev 31725
Line 180... Line 180...
180
		propertiesDetails.put("alertTicketToUser", "1");
180
		propertiesDetails.put("alertTicketToUser", "1");
181
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
181
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
182
 
182
 
183
	}
183
	}
184
 
184
 
185
	@Scheduled(cron = "0 30 14,18,22 ? * *")
185
	@Scheduled(cron = "0 0 14,18,23 ? * *")
186
	public void dailySaleNotification() throws Exception {
186
	public void dailySaleNotification() throws Exception {
187
		log.info("daily send Notification");
187
		log.info("daily send Notification");
188
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
188
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
189
		propertiesDetails.put("dailySaleNotification", "0");
189
		propertiesDetails.put("dailySaleNotification", "0");
190
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
190
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);