Subversion Repositories SmartDukaan

Rev

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

Rev 24678 Rev 24679
Line 31... Line 31...
31
	NagiosMonitorTasks nagiosMonitorTasks;
31
	NagiosMonitorTasks nagiosMonitorTasks;
32
 
32
 
33
	@Autowired
33
	@Autowired
34
	private FofoStoreRepository fofoStoreRepository;
34
	private FofoStoreRepository fofoStoreRepository;
35
 
35
 
36
	@Scheduled(cron = "0 0 1 * * *")
36
	@Scheduled(cron = "0 0 2 * * *")
37
	public void processDailySchemes() throws Exception {
37
	public void processDailySchemes() throws Exception {
38
		scheduledTasks.processScheme(LocalDateTime.now().minusDays(21), LocalDateTime.now());
38
		scheduledTasks.processScheme(LocalDateTime.now().minusDays(21), LocalDateTime.now());
39
	}
39
	}
40
	
40
	
41
	@Scheduled(cron = "0 15 0 * * *")
41
	@Scheduled(cron = "0 15 0 * * *")
Line 46... Line 46...
46
	@Scheduled(cron = "0 05 0 1,16 * ?")
46
	@Scheduled(cron = "0 05 0 1,16 * ?")
47
	public void processRechargeCashback() throws Throwable {
47
	public void processRechargeCashback() throws Throwable {
48
		scheduledTasks.processRechargeCashback();
48
		scheduledTasks.processRechargeCashback();
49
	}
49
	}
50
 
50
 
51
	/*@Scheduled(cron = "0 0 1 * * *")
51
	@Scheduled(cron = "0 0 1 * * *")
52
	public void migrateLineItems() throws Throwable {
52
	public void sendPartnerInvestmentDetaile() throws Throwable {
53
		log.info("Started run Once");
-
 
54
		scheduledTasks.sendPartnerInvestmentDetails();
53
		scheduledTasks.sendPartnerInvestmentDetails();
55
	}*/
54
	}
56
 
55
 
57
	@Scheduled(cron = " 0 0 23 * * *")
56
	@Scheduled(cron = " 0 0 23 * * *")
58
	public void sendMail() throws MessagingException, ProfitMandiBusinessException, IOException {
57
	public void sendMail() throws MessagingException, ProfitMandiBusinessException, IOException {
59
		log.info("sending mail");
58
		log.info("sending mail");
60
 
59