public List<JobInstance> getJobInstances(final String jobName, final int start, final int count) throws NoSuchJobException, JobSecurityException {
final LinkedList<JobInstance> result = new LinkedList<JobInstance>();
int pos = 0;
final List<JobInstance> instances = repository.getJobInstances();
for (int i = instances.size() - 1; i >= 0; i--) {
final JobInstance e = instances.get(i);
if (e.getJobName().equals(jobName)) {
if (pos >= start) {
if (result.size() < count) {
result.add(e);
} else {
break;