public void start() throws Exception { scheduler = StdSchedulerFactory.getDefaultScheduler(); scheduler.start(); scheduleAllJobsOnApplicationStart(); scheduleAllJobsWithEveryAnnotation(); scheduleAllJobsWithOnAnnotation(); }