Subversion Repositories SmartDukaan

Rev

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

Rev 31789 Rev 31931
Line 45... Line 45...
45
	@Autowired
45
	@Autowired
46
	private WriteToPropertiesFile writeToPropertiesFile;
46
	private WriteToPropertiesFile writeToPropertiesFile;
47
 
47
 
48
	String nagiosCronPropertiesFile = "/var/log/services/nagios-Cron-Monitoring.properties";
48
	String nagiosCronPropertiesFile = "/var/log/services/nagios-Cron-Monitoring.properties";
49
 
49
 
50
	@Scheduled(cron = "0 0 2 * * *")
50
	//@Scheduled(cron = "0 0 2 * * *")
51
	public void processDailySchemes() throws Exception {
51
	public void processDailySchemes() throws Exception {
52
 
52
 
53
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
53
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
54
		propertiesDetails.put("processDailySchemes", "0");
54
		propertiesDetails.put("processDailySchemes", "0");
55
 
55
 
Line 679... Line 679...
679
 
679
 
680
	@Scheduled(cron = "0 0 6 * * *")
680
	@Scheduled(cron = "0 0 6 * * *")
681
	public void sendSamsungRebilling() throws Throwable {
681
	public void sendSamsungRebilling() throws Throwable {
682
		scheduledTasks.sendMailForSamsungRebilling();
682
		scheduledTasks.sendMailForSamsungRebilling();
683
	}
683
	}
-
 
684
 
-
 
685
	@Scheduled(cron = "0 10 8 * * *")
-
 
686
	public void sendMailForAgeingAlert() throws Throwable {
-
 
687
		scheduledTasks.sendMailForAgeingAlert();
-
 
688
	}
684
	/*
689
	/*
685
	 * @Scheduled(cron = "0 0 9 * * *") public void onBoardingDocumentsPending()
690
	 * @Scheduled(cron = "0 0 9 * * *") public void onBoardingDocumentsPending()
686
	 * throws Throwable { log.info("startTime" + LocalDateTime.now());
691
	 * throws Throwable { log.info("startTime" + LocalDateTime.now());
687
	 * onBoardingRelatedSchelduleTask.onBoardingDocumentsPending();
692
	 * onBoardingRelatedSchelduleTask.onBoardingDocumentsPending();
688
	 * log.info("endTime" + LocalDateTime.now()); }
693
	 * log.info("endTime" + LocalDateTime.now()); }