Subversion Repositories SmartDukaan

Rev

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

Rev 23756 Rev 23759
Line 36... Line 36...
36
	@Scheduled(cron = "0 45 * * * *")
36
	@Scheduled(cron = "0 45 * * * *")
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 12 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
		nagiosMonitorTasks.reportSmsCount();
-
 
45
	}
44
	}
46
	
45
	
47
	/*Value so big so that it got to run only once.
46
	/*Value so big so that it got to run only once.
48
	 * 
47
	 * 
49
	 */
48
	 */
50
	@Scheduled(fixedRate=Integer.MAX_VALUE)
49
	/*@Scheduled(fixedRate=Integer.MAX_VALUE)
51
	public void runOnce() throws Throwable
50
	public void runOnce() throws Throwable
52
	{
51
	{
53
		log.info("Started run Once");
52
		log.info("Started run Once");
54
		runOnceTasks.migarateLineItemsToNewTable();
53
		runOnceTasks.migarateLineItemsToNewTable();
55
	}
54
	}
56
	@Scheduled(fixedRate=Integer.MAX_VALUE)
55
	@Scheduled(fixedRate=Integer.MAX_VALUE)
57
	public void runTwice() throws Throwable
56
	public void runTwice() throws Throwable
58
	{
57
	{
59
		log.info("Started run Twice");
58
		log.info("Started run Twice");
60
		scheduledTasks.reconcileRecharge();
59
		scheduledTasks.reconcileRecharge();
61
	}
60
	}*/
62
	@Scheduled(fixedRate=Integer.MAX_VALUE)
61
	@Scheduled(fixedRate=Integer.MAX_VALUE)
63
	public void runThird() throws Throwable
62
	public void runThird() throws Throwable
64
	{
63
	{
65
		log.info("Started run Third");
64
		log.info("Started run Third");
66
		scheduledTasks.generateDailyRecharge();
65
		scheduledTasks.generateDailyRecharge();