scheduler_.scheduleJob(job, trigger);
}
public void addCronJob(ComponentPlugin plugin) throws Exception
{
CronJob cjob = (CronJob)plugin;
try
{
addCronJob(cjob.getJobInfo(), cjob.getExpression(), cjob.getJobDataMap());
}
catch (Exception e)
{
LOG.warn("Could not add the cron job (" + cjob.getJobInfo().getJobName() + ", "
+ cjob.getJobInfo().getGroupName() + ") defined in the plugin " + plugin.getName() + " : " + e.getMessage());
}
}