scheduler_.scheduleJob(job, trigger);
}
public void addPeriodJob(ComponentPlugin plugin) throws Exception
{
PeriodJob pjob = (PeriodJob)plugin;
try
{
addPeriodJob(pjob.getJobInfo(), pjob.getPeriodInfo(), pjob.getJobDataMap());
}
catch (Exception e)
{
LOG.warn("Could not add the period job (" + pjob.getJobInfo().getJobName() + ", "
+ pjob.getJobInfo().getGroupName() + ") defined in the plugin " + plugin.getName() + " : " + e.getMessage());
}
}