Subversion Repositories SmartDukaan

Rev

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

Rev 24955 Rev 24988
Line 103... Line 103...
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
		
107
		if (args.containsOption("notify")) {
107
		if (args.containsOption("notify")) {
-
 
108
			if(args.containsOption("fofoId")) {
108
			scheduledTasks.sendDailySalesReportNotificationToPartner(175120474);
109
				int fofoId = Integer.parseInt(args.getOptionValues("fofoId").get(0));
109
			scheduledTasks.sendDailySalesReportNotificationToPartner(175136015);
110
				scheduledTasks.sendDailySalesReportNotificationToPartner(fofoId);
-
 
111
			}
110
			System.exit(0);
112
			System.exit(0);
111
		}
113
		}
112
		if (args.containsOption("findMismatchesInIndent")) {
114
		if (args.containsOption("findMismatchesInIndent")) {
113
			runOnceTasks.findMismatchesInIndent();
115
			runOnceTasks.findMismatchesInIndent();
114
			System.exit(0);
116
			System.exit(0);