Subversion Repositories SmartDukaan

Rev

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

Rev 23794 Rev 23841
Line 21... Line 21...
21
	NagiosMonitorTasks nagiosMonitorTasks;
21
	NagiosMonitorTasks nagiosMonitorTasks;
22
 
22
 
23
	@Autowired
23
	@Autowired
24
	RunOnceTasks runOnceTasks;
24
	RunOnceTasks runOnceTasks;
25
 
25
 
26
	/*
-
 
27
	 * @Scheduled(cron = "0 5 0 * * * ") public void generateDailyRecharge() {
-
 
28
	 * scheduledTasks.generateDailyRecharge(); }
-
 
29
	 */
-
 
30
 
-
 
31
	/*
-
 
32
	 * @Scheduled(cron = "0 45 0 * * *") public void processScheme() throws
-
 
33
	 * Exception { scheduledTasks.processScheme(); }
-
 
34
	 */
-
 
35
 
-
 
36
	@Scheduled(cron = "0 15 0 * * *")
26
	@Scheduled(cron = "0 15 0 * * *")
37
	public void reconcileRecharge() throws Exception {
27
	public void reconcileRecharge() throws Exception {
38
		scheduledTasks.reconcileRecharge();
28
		scheduledTasks.reconcileRecharge();
39
	}
29
	}
40
 
30
 
Line 50... Line 40...
50
	@Scheduled(fixedDelay = 1000 * 60 * 10)
40
	@Scheduled(fixedDelay = 1000 * 60 * 10)
51
	public void migrateLineItems() throws Throwable {
41
	public void migrateLineItems() throws Throwable {
52
		log.info("Started run Once");
42
		log.info("Started run Once");
53
		runOnceTasks.migarateLineItemsToNewTable();
43
		runOnceTasks.migarateLineItemsToNewTable();
54
	}
44
	}
55
	/*
-
 
56
	 * @Scheduled(fixedRate=Integer.MAX_VALUE) public void runTwice() throws
-
 
57
	 * Throwable { log.info("Started run Twice");
-
 
58
	 * scheduledTasks.reconcileRecharge(); }
-
 
59
	 */
-
 
60
	/*
-
 
61
	 * @Scheduled(fixedRate=Integer.MAX_VALUE) public void runThird() throws
-
 
62
	 * Throwable { log.info("Started run Third");
-
 
63
	 * scheduledTasks.processRechargeCashback(); }
-
 
64
	 */
-
 
65
 
-
 
66
	
-
 
67
}
45
}