communityOverride = (String) cliOpts.getOptionValue("community");
}
if (cliOpts.hasOption("source")) {
sourceDebug = (String) cliOpts.getOptionValue("source");
}
new HarvestThenProcessController().startService(SourceUtils.getSourcesToWorkOn(communityOverride, sourceDebug, false, true));
}//TESTED
else if (cliOpts.hasOption("sync")) {
if (SourceUtils.checkDbSyncLock()) {
Thread.sleep(10000); // (wait 10s and then try again)
System.exit(0);