Subversion Repositories SmartDukaan

Rev

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

Rev 29694 Rev 29695
Line 100... Line 100...
100
 
100
 
101
	@Scheduled(cron = "0 0 6 * * *")
101
	@Scheduled(cron = "0 0 6 * * *")
102
	public void sendPartnerInvestmentDetails() throws Exception {
102
	public void sendPartnerInvestmentDetails() throws Exception {
103
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
103
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
104
		propertiesDetails.put("sendPartnerInvestmentDetails", "0");
104
		propertiesDetails.put("sendPartnerInvestmentDetails", "0");
105
 
-
 
106
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
105
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
107
 
-
 
108
		scheduledTasks.sendPartnerInvestmentDetails();
106
		scheduledTasks.sendPartnerInvestmentDetails();
-
 
107
		long secs = (new Date().getTime())/1000;
-
 
108
		log.info("endTimevivoImeiActivation" + LocalDateTime.now());
109
		
109
		
-
 
110
		propertiesDetails.put("investmentDate", Long.toString(secs));
110
		propertiesDetails.put("sendPartnerInvestmentDetails", "1");
111
		propertiesDetails.put("sendPartnerInvestmentDetails", "1");
111
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
112
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
112
 
113
 
113
	}
114
	}
114
 
115