Subversion Repositories SmartDukaan

Rev

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

Rev 25648 Rev 25721
Line 35... Line 35...
35
 
35
 
36
	@Scheduled(cron = "0 15 0 * * *")
36
	@Scheduled(cron = "0 15 0 * * *")
37
	public void reconcileRecharge() throws Exception {
37
	public void reconcileRecharge() throws Exception {
38
		scheduledTasks.reconcileRecharge();
38
		scheduledTasks.reconcileRecharge();
39
	}
39
	}
40
	
40
 
41
	@Scheduled(cron = "0 05 0 1,16 * ?")
41
	@Scheduled(cron = "0 05 0 1,16 * ?")
42
	public void processRechargeCashback() throws Throwable {
42
	public void processRechargeCashback() throws Throwable {
43
		scheduledTasks.processRechargeCashback();
43
		scheduledTasks.processRechargeCashback();
44
	}
44
	}
45
 
45
 
46
	@Scheduled(cron = "0 0 1 * * *")
46
	@Scheduled(cron = "0 0 1 * * *")
47
	public void sendPartnerInvestmentDetails() throws Exception {
47
	public void sendPartnerInvestmentDetails() throws Exception {
48
		scheduledTasks.sendPartnerInvestmentDetails();
48
		scheduledTasks.sendPartnerInvestmentDetails();
49
		//scheduledTasks.sendTargetVsSalesReport(null);
49
		// scheduledTasks.sendTargetVsSalesReport(null);
50
	}
50
	}
51
 
51
 
52
 
-
 
53
	@Scheduled(cron = "0 0 8 * * *")
52
	@Scheduled(cron = "0 0 8 * * *")
54
	public void sendStockAgeingReport() throws Throwable {
53
	public void sendStockAgeingReport() throws Throwable {
55
		scheduledTasks.sendAgeingReport();
54
		scheduledTasks.sendAgeingReport();
56
	}
55
	}
57
 
56
 
Line 65... Line 64...
65
	public void alertTicketToUser() throws Exception {
64
	public void alertTicketToUser() throws Exception {
66
		log.info("alert for ticket");
65
		log.info("alert for ticket");
67
		ticketRelatedScheduledTask.alertforTicket();
66
		ticketRelatedScheduledTask.alertforTicket();
68
	}
67
	}
69
 
68
 
-
 
69
	/*
70
	/*@Scheduled(cron = "0 0 15,17,19,23 ? * *")
70
	 * @Scheduled(cron = "0 0 15,17,19,23 ? * *") public void
71
	public void dailySaleNotification() throws Exception {
71
	 * dailySaleNotification() throws Exception {
72
		log.info("daily send Notification");
72
	 * log.info("daily send Notification");
73
		scheduledTasks.sendDailySalesReportNotificationToPartner(null);
73
	 * scheduledTasks.sendDailySalesReportNotificationToPartner(null); }
74
	}*/
74
	 */
75
 
75
 
76
	@Scheduled(cron = "0 0 6 * * *")
76
	@Scheduled(cron = "0 0 6 * * *")
77
	public void dailyReconciliation() throws Exception {
77
	public void dailyReconciliation() throws Exception {
78
		reconciliation.dailyReconciliation();
78
		reconciliation.dailyReconciliation();
79
	}
79
	}
80
	
-
 
81
	
80
 
82
	@Scheduled(cron = "0 */15 * * * *")
81
	@Scheduled(cron = "0 */15 * * * *")
83
	public void sendNotification() throws Throwable {
82
	public void sendNotification() throws Throwable {
84
		log.info("startTime"+LocalDateTime.now());
83
		log.info("startTime" + LocalDateTime.now());
85
		scheduledTasks.sendNotification();
84
		scheduledTasks.sendNotification();
86
		log.info("endTime"+LocalDateTime.now());
85
		log.info("endTime" + LocalDateTime.now());
-
 
86
	}
-
 
87
 
-
 
88
	@Scheduled(cron = "0 0 11 * * *")
-
 
89
	public void checkfocusedModelInPartnerStock() throws Throwable {
-
 
90
		log.info("startTime" + LocalDateTime.now());
-
 
91
		scheduledTasks.checkfocusedModelInPartnerStock();
-
 
92
 
-
 
93
		log.info("endTime" + LocalDateTime.now());
87
	}
94
	}
88
 
95
 
89
}
96
}