Subversion Repositories SmartDukaan

Rev

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

Rev 24564 Rev 24568
Line 35... Line 35...
35
	@Autowired
35
	@Autowired
36
	private FofoStoreRepository fofoStoreRepository;
36
	private FofoStoreRepository fofoStoreRepository;
37
 
37
 
38
	@Scheduled(cron = "0 0 1 * * *")
38
	@Scheduled(cron = "0 0 1 * * *")
39
	public void processDailySchemes() throws Exception {
39
	public void processDailySchemes() throws Exception {
40
		scheduledTasks.processScheme(LocalDateTime.now().minusDays(2), LocalDateTime.now());
40
		scheduledTasks.processScheme(LocalDateTime.now().minusDays(21), LocalDateTime.now());
41
	}
41
	}
42
	
42
	
43
	@Scheduled(cron = "0 15 0 * * *")
43
	@Scheduled(cron = "0 15 0 * * *")
44
	public void reconcileRecharge() throws Exception {
44
	public void reconcileRecharge() throws Exception {
45
		scheduledTasks.reconcileRecharge();
45
		scheduledTasks.reconcileRecharge();
Line 48... Line 48...
48
	@Scheduled(cron = "0 05 0 1,16 * ?")
48
	@Scheduled(cron = "0 05 0 1,16 * ?")
49
	public void processRechargeCashback() throws Throwable {
49
	public void processRechargeCashback() throws Throwable {
50
		scheduledTasks.processRechargeCashback();
50
		scheduledTasks.processRechargeCashback();
51
	}
51
	}
52
 
52
 
53
	@Scheduled(cron = "0 0 1 * * *")
53
	/*@Scheduled(cron = "0 0 1 * * *")
54
	public void migrateLineItems() throws Throwable {
54
	public void migrateLineItems() throws Throwable {
55
		log.info("Started run Once");
55
		log.info("Started run Once");
56
		scheduledTasks.sendPartnerInvestmentDetails();
56
		scheduledTasks.sendPartnerInvestmentDetails();
57
	}
57
	}*/
58
 
58
 
59
	@Scheduled(cron = " 0 0 23 * * *")
59
	@Scheduled(cron = " 0 0 23 * * *")
60
	public void sendMail() throws MessagingException, ProfitMandiBusinessException, IOException {
60
	public void sendMail() throws MessagingException, ProfitMandiBusinessException, IOException {
61
		log.info("sending mail");
61
		log.info("sending mail");
62
 
62