SimpleScheduleBuilder.simpleSchedule().withRepeatCount(repeat).withIntervalInMilliseconds(period))
.build();
@SuppressWarnings("unchecked")
JobDetail job =
JobBuilder.newJob(jobinfo.getJob()).withIdentity(jobinfo.getJobName(), jobinfo.getGroupName())
<BUG>.withDescription(jinfo.getDescription()).build();
scheduleJob(job, trigger);</BUG>
}
public void addPeriodJob(JobInfo jinfo, PeriodInfo pinfo) throws Exception
{

SimpleScheduleBuilder.simpleSchedule().withRepeatCount(repeat).withIntervalInMilliseconds(period))
.build();
@SuppressWarnings("unchecked")
JobDetail job =
JobBuilder.newJob(jobinfo.getJob()).withIdentity(jobinfo.getJobName(), jobinfo.getGroupName())
.withDescription(jinfo.getDescription()).requestRecovery(jinfo.isShouldRecover()).build();
scheduleJob(job, trigger);
}
public void addPeriodJob(JobInfo jinfo, PeriodInfo pinfo) throws Exception
{
