Subversion Repositories SmartDukaan

Rev

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

Rev 29564 Rev 29565
Line 163... Line 163...
163
	@Override
163
	@Override
164
	public void run(ApplicationArguments args) throws Exception {
164
	public void run(ApplicationArguments args) throws Exception {
165
		LOGGER.info("Called run method");
165
		LOGGER.info("Called run method");
166
		if (args.containsOption("tc")) {
166
		if (args.containsOption("tc")) {
167
			System.out.println("Toffee service called");
167
			System.out.println("Toffee service called");
168
			scheduledTasks.toffeeRollback();
168
			scheduledTasks.attachToffeeInvoices();
169
			System.exit(0);
169
			System.exit(0);
170
		}
170
		}
171
		/*
171
		/*
172
		 * if (args.containsOption("migratetax")) { System.out.println("migratetax");
172
		 * if (args.containsOption("migratetax")) { System.out.println("migratetax");
173
		 * scheduledTasks.migrateTax(); System.exit(0); }
173
		 * scheduledTasks.migrateTax(); System.exit(0); }