jobInstanceLoader.registerJob(task, task.getJobClassName(), task.getCronExpression());
}
Long reportId = JobInstanceLoader.getReportIdFromJobName(bundle.getJobDetail().getKey().getName());
if (reportId != null) {
ReportDAO reportDAO = ctx.getBean(ReportDAO.class);
Report report = reportDAO.find(reportId);
JobInstanceLoader jobInstanceLoader = ctx.getBean(JobInstanceLoader.class);
jobInstanceLoader.registerJob(report);
}
}