Subversion Repositories SmartDukaan

Rev

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

Rev 30858 Rev 30859
Line 221... Line 221...
221
		propertiesDetails.put("processActivation", "1");
221
		propertiesDetails.put("processActivation", "1");
222
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
222
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
223
 
223
 
224
	}
224
	}
225
 
225
 
226
	//TODO: Change it back to first of every month
226
	// TODO: Change it back to first of every month
227
	//@Scheduled(cron = "0 0 1 1 * *")
227
	// @Scheduled(cron = "0 0 1 1 * *")
228
	@Scheduled(cron = "0 0 1 9 * *")
228
	@Scheduled(cron = "0 0 1 9 * *")
229
	public void rollOutUpgardedMargins() throws Exception {
229
	public void rollOutUpgardedMargins() throws Exception {
230
		scheduledTasks.rollOutUpgardedMarginsNextMonth();
230
		scheduledTasks.rollOutUpgardedMarginsNextMonth();
231
 
231
 
232
	}
232
	}
Line 480... Line 480...
480
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
480
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
481
 
481
 
482
		log.info("endTime" + LocalDateTime.now());
482
		log.info("endTime" + LocalDateTime.now());
483
	}
483
	}
484
 
484
 
485
 
-
 
486
	@Scheduled(cron = "0 */2 * * * *")
485
	@Scheduled(cron = "0 */2 * * * *")
487
	public void updateSaholicCISTable() throws Throwable {
486
	public void updateSaholicCISTable() throws Throwable {
488
		log.info("startTime" + LocalDateTime.now());
487
		log.info("startTime" + LocalDateTime.now());
489
		runOnceTasks.updateSaholicCISTable();
488
		runOnceTasks.updateSaholicCISTable();
490
		log.info("endTime" + LocalDateTime.now());
489
		log.info("endTime" + LocalDateTime.now());
Line 597... Line 596...
597
	@Scheduled(cron = "0 4 * * * *")
596
	@Scheduled(cron = "0 4 * * * *")
598
	public void processPriceDrop() throws Throwable {
597
	public void processPriceDrop() throws Throwable {
599
		scheduledTasks.processPriceDrop();
598
		scheduledTasks.processPriceDrop();
600
	}
599
	}
601
 
600
 
-
 
601
	@Scheduled(cron = "0 0 0 * * *")
-
 
602
	public void calculateInterestAccured() throws Throwable {
-
 
603
		scheduledTasks.calculateInterestAccured();
-
 
604
	}
-
 
605
 
-
 
606
	@Scheduled(cron = "0 0 1 * * * *")
-
 
607
	public void loanSettlement() throws Throwable {
-
 
608
		scheduledTasks.loanSettlement();
-
 
609
	}
-
 
610
 
-
 
611
	@Scheduled(cron = "0 0 2 * * * *")
-
 
612
	public void dailyLoanAlert() throws Throwable {
-
 
613
		scheduledTasks.dailyLoanAlert();
-
 
614
	}
602
	/*
615
	/*
603
	 * @Scheduled(cron = "0 0 9 * * *") public void onBoardingDocumentsPending()
616
	 * @Scheduled(cron = "0 0 9 * * *") public void onBoardingDocumentsPending()
604
	 * throws Throwable { log.info("startTime" + LocalDateTime.now());
617
	 * throws Throwable { log.info("startTime" + LocalDateTime.now());
605
	 * onBoardingRelatedSchelduleTask.onBoardingDocumentsPending();
618
	 * onBoardingRelatedSchelduleTask.onBoardingDocumentsPending();
606
	 * log.info("endTime" + LocalDateTime.now()); }
619
	 * log.info("endTime" + LocalDateTime.now()); }