TaskManager { protected static CronSchedule scheduleDefault() { try { final String pattern = ConfigHelp.reference().getString( "form-field-bundle.scanner-schedule.default-value"); return new CronSchedule(pattern); } catch (final Exception e) { return null; } } @Inject  TaskManager( //
			final BaseReporter reporter, //
			final NexusScheduler scheduler //
	); Reporter reporter(); void cancelTasks(final String configId); void ensureTasks(final String configId, final ConfigBean configBean); void report(final StringBuilder text, final String configId);  }
@Test public void testCron() throws Exception { assertNotNull("default cron schedule", TaskManager.scheduleDefault()); }