Subversion Repositories SmartDukaan

Rev

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

Rev 24883 Rev 24955
Line 101... Line 101...
101
	private Reconciliation reconciliation;
101
	private Reconciliation reconciliation;
102
 
102
 
103
	@Override
103
	@Override
104
	public void run(ApplicationArguments args) throws Exception {
104
	public void run(ApplicationArguments args) throws Exception {
105
		LOGGER.info("Called run method");
105
		LOGGER.info("Called run method");
-
 
106
		
106
		if (args.containsOption("notify")) {
107
		if (args.containsOption("notify")) {
107
			scheduledTasks.sendDailySalesReportNotificationToPartner(175120474);
108
			scheduledTasks.sendDailySalesReportNotificationToPartner(175120474);
108
			scheduledTasks.sendDailySalesReportNotificationToPartner(175136015);
109
			scheduledTasks.sendDailySalesReportNotificationToPartner(175136015);
109
			System.exit(0);
110
			System.exit(0);
110
		}
111
		}
-
 
112
		if (args.containsOption("findMismatchesInIndent")) {
-
 
113
			runOnceTasks.findMismatchesInIndent();
-
 
114
			System.exit(0);
-
 
115
		}
111
		if (args.containsOption("notifyAll")) {
116
		if (args.containsOption("notifyAll")) {
112
			scheduledTasks.sendDailySalesReportNotificationToPartner(null);
117
			scheduledTasks.sendDailySalesReportNotificationToPartner(null);
113
			System.exit(0);
118
			System.exit(0);
114
		}
119
		}
115
		if (args.containsOption("reco1")) {
120
		if (args.containsOption("reco1")) {