Subversion Repositories SmartDukaan

Rev

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

Rev 24681 Rev 24784
Line 23... Line 23...
23
public class ScheduledSkeleton {
23
public class ScheduledSkeleton {
24
 
24
 
25
	private static final Logger log = LogManager.getLogger(ScheduledSkeleton.class);
25
	private static final Logger log = LogManager.getLogger(ScheduledSkeleton.class);
26
 
26
 
27
	@Autowired
27
	@Autowired
28
	ScheduledTasks scheduledTasks;
28
	private ScheduledTasks scheduledTasks;
-
 
29
	
-
 
30
	@Autowired
-
 
31
	private Reconciliation reconciliation;
29
 
32
 
30
	@Autowired
33
	@Autowired
31
	NagiosMonitorTasks nagiosMonitorTasks;
34
	NagiosMonitorTasks nagiosMonitorTasks;
32
 
35
 
33
	@Autowired
36
	@Autowired
Line 92... Line 95...
92
	public void dailySaleNotification() throws Exception
95
	public void dailySaleNotification() throws Exception
93
	{
96
	{
94
		log.info("daily send Notification");
97
		log.info("daily send Notification");
95
		scheduledTasks.sendDailySalesReportNotificationToPartner();
98
		scheduledTasks.sendDailySalesReportNotificationToPartner();
96
	}
99
	}
-
 
100
	@Scheduled(cron="0 0 6 * * *")
-
 
101
	public void dailyReconciliation() throws Exception
-
 
102
	{
-
 
103
		reconciliation.dailyReconciliation();
-
 
104
	}
97
	
105
	
98
}
106
}