Subversion Repositories SmartDukaan

Rev

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

Rev 31249 Rev 31256
Line 260... Line 260...
260
 
260
 
261
	@Scheduled(fixedDelay = 30 * 60 * 1000)
261
	@Scheduled(fixedDelay = 30 * 60 * 1000)
262
	public void updateIrnsToInvoices() throws Throwable {
262
	public void updateIrnsToInvoices() throws Throwable {
263
		runOnceTasks.updateIrnsToInvoices();
263
		runOnceTasks.updateIrnsToInvoices();
264
	}
264
	}
265
 
-
 
-
 
265
	//No longer needed
266
	@Scheduled(cron = "0 */10 * * * *")
266
	//@Scheduled(cron = "0 */10 * * * *")
267
	public void attachToffeeInvoices() throws Throwable {
267
	public void attachToffeeInvoices() throws Throwable {
268
 
268
 
269
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
269
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
270
		propertiesDetails.put("attachToffeeInvoices", "0");
270
		propertiesDetails.put("attachToffeeInvoices", "0");
271
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
271
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);