select j.* from Job j, JobDefinition jd, JobDefinitionType jdt where j.JobDefinition = jd.UniqueId and jd.JobDefinitionType = jdt.UniqueId and jdt.Name = 'CMD' and j.Status = 'R' and j.RunStart < NOW('subtract 20 minutes')
Regards Gerben
select j.* from Job j, JobDefinition jd, JobDefinitionType jdt where j.JobDefinition = jd.UniqueId and jd.JobDefinitionType = jdt.UniqueId and jdt.Name = 'CMD' and j.Status = 'R' and j.RunStart < NOW('subtract 20 minutes')
Regards Gerben