final ScheduledJobInfoImpl info = (ScheduledJobInfoImpl) context.getConfiguration().get(PROPERTY_READ_JOB);
this.jobManager.addJob(info.getJobTopic(), info.getJobProperties());
int index = (Integer)context.getConfiguration().get(PROPERTY_SCHEDULE_INDEX);
final Iterator<ScheduleInfo> iter = info.getSchedules().iterator();
ScheduleInfo si = iter.next();
for(int i=0; i<index; i++) {
si = iter.next();
}
// if scheduled once (DATE), remove from schedule
if ( si.getType() == ScheduleType.DATE ) {
if ( index == 0 && info.getSchedules().size() == 1 ) {
// remove
unschedule(info);
} else {
// update schedule list