Subversion Repositories SmartDukaan

Rev

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

Rev 30120 Rev 30133
Line 319... Line 319...
319
 
319
 
320
		if (args.containsOption("partnerProblemAlert")) {
320
		if (args.containsOption("partnerProblemAlert")) {
321
			scheduledTasks.partnerProblemAlert();
321
			scheduledTasks.partnerProblemAlert();
322
			System.exit(0);
322
			System.exit(0);
323
		}
323
		}
324
 
-
 
325
		if (args.containsOption("populateSchemes")) {
-
 
326
			runOnceTasks.populateSchemes();
-
 
327
			System.exit(0);
-
 
328
		}
-
 
329
		if (args.containsOption("notify")) {
324
		if (args.containsOption("notify")) {
330
			if (args.containsOption("fofoId")) {
325
			if (args.containsOption("fofoId")) {
331
				int fofoId = Integer.parseInt(args.getOptionValues("fofoId").get(0));
326
				int fofoId = Integer.parseInt(args.getOptionValues("fofoId").get(0));
332
				scheduledTasks.sendDailySalesNotificationToPartner(fofoId);
327
				scheduledTasks.sendDailySalesNotificationToPartner(fofoId);
333
			}
328
			}