Subversion Repositories SmartDukaan

Rev

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

Rev 25783 Rev 25822
Line 20... Line 20...
20
	@Autowired
20
	@Autowired
21
	private ScheduledTasks scheduledTasks;
21
	private ScheduledTasks scheduledTasks;
22
 
22
 
23
	@Autowired
23
	@Autowired
24
	private Reconciliation reconciliation;
24
	private Reconciliation reconciliation;
25
	
25
 
26
	@Autowired
26
	@Autowired
27
	private RunOnceTasks runOnceTasks;
27
	private RunOnceTasks runOnceTasks;
28
 
28
 
29
	@Autowired
29
	@Autowired
30
	NagiosMonitorTasks nagiosMonitorTasks;
30
	NagiosMonitorTasks nagiosMonitorTasks;
Line 39... Line 39...
39
 
39
 
40
	@Scheduled(cron = "0 15 0 * * *")
40
	@Scheduled(cron = "0 15 0 * * *")
41
	public void runOnceTasks() throws Exception {
41
	public void runOnceTasks() throws Exception {
42
		scheduledTasks.reconcileRecharge();
42
		scheduledTasks.reconcileRecharge();
43
	}
43
	}
44
	
44
 
45
	@Scheduled(cron = "0 0 8 * * *")
45
	@Scheduled(cron = "0 0 8 * * *")
46
	public void mailDashboardScreenshots() throws Exception {
46
	public void mailDashboardScreenshots() throws Exception {
47
		runOnceTasks.mailDashboardScreenshots();
47
		runOnceTasks.mailDashboardScreenshots();
48
	}
48
	}
49
 
49
 
Line 73... Line 73...
73
	public void alertTicketToUser() throws Exception {
73
	public void alertTicketToUser() throws Exception {
74
		log.info("alert for ticket");
74
		log.info("alert for ticket");
75
		ticketRelatedScheduledTask.alertforTicket();
75
		ticketRelatedScheduledTask.alertforTicket();
76
	}
76
	}
77
 
77
 
78
	/*
-
 
79
	 * @Scheduled(cron = "0 0 15,17,19,23 ? * *") public void
78
	@Scheduled(cron = "0 0 15,17,19,23 ? * *")
80
	 * dailySaleNotification() throws Exception {
79
	public void dailySaleNotification() throws Exception {
81
	 * log.info("daily send Notification");
80
		log.info("daily send Notification");
82
	 * scheduledTasks.sendDailySalesReportNotificationToPartner(null); }
81
		scheduledTasks.sendDailySalesReportNotificationToPartner(null);
83
	 */
82
	}
84
 
83
 
85
	@Scheduled(cron = "0 0 6 * * *")
84
	@Scheduled(cron = "0 0 6 * * *")
86
	public void dailyReconciliation() throws Exception {
85
	public void dailyReconciliation() throws Exception {
87
		reconciliation.dailyReconciliation();
86
		reconciliation.dailyReconciliation();
88
	}
87
	}