Subversion Repositories SmartDukaan

Rev

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

Rev 27450 Rev 27457
Line 129... Line 129...
129
		if (args.containsOption("tc")) {
129
		if (args.containsOption("tc")) {
130
			System.out.println("Toffee service called");
130
			System.out.println("Toffee service called");
131
			scheduledTasks.testToffee();
131
			scheduledTasks.testToffee();
132
			System.exit(0);
132
			System.exit(0);
133
		}
133
		}
-
 
134
		/*
134
		/*if (args.containsOption("migratetax")) {
135
		 * if (args.containsOption("migratetax")) { System.out.println("migratetax");
135
			System.out.println("migratetax");
-
 
136
			scheduledTasks.migrateTax();
136
		 * scheduledTasks.migrateTax(); System.exit(0); }
137
			System.exit(0);
-
 
138
		}*/
137
		 */
139
		if (args.containsOption("rw")) {
138
		if (args.containsOption("rw")) {
140
			System.out.println("Reverse wallet");
139
			System.out.println("Reverse wallet");
141
			scheduledTasks.reverseWallet();
140
			scheduledTasks.reverseWallet();
142
			System.exit(0);
141
			System.exit(0);
143
		}
142
		}
Line 364... Line 363...
364
				runOnceTasks.createGeofence();
363
				runOnceTasks.createGeofence();
365
			}
364
			}
366
			if (args.containsOption("getAllGeofences")) {
365
			if (args.containsOption("getAllGeofences")) {
367
				runOnceTasks.getAllGeofences();
366
				runOnceTasks.getAllGeofences();
368
			}
367
			}
-
 
368
			if (args.containsOption("deleteGeofences")) {
-
 
369
				List<String> geofenceIds = args.getOptionValues("geofenceId");
-
 
370
				runOnceTasks.deleteGeofences(geofenceIds);
-
 
371
			}
369
			System.exit(0);
372
			System.exit(0);
370
		}
373
		}
371
	}
374
	}
372
 
375
 
373
}
376
}
374
377