Returns a list of which identify failed jobs in the scriptsRun table.
			If a time stamp for a job can be found, we return this. The time stamp can be used to index the log.
			If no time stamp was found, return the name of the script instead.

def getFailedJobIDs(self, extraLapse = TYPICAL_LAPSE):
		'''Returns a list of which identify failed jobs in the scriptsRun table.
			If a time stamp for a job can be found, we return this. The time stamp can be used to index the log.
			If no time stamp was found, return the name of the script instead.
		''' 
		scriptsRun = self.scriptsRun
		
		failedJobTimestamps = []
		nodata = []
		for name, details in sorted(scriptsRun.iteritems()):
			if details["lastSuccess"] and expectedScripts.get(name):
				if not expectedScripts.check(name, details["lastSuccess"], extraLapse): 
					if details["lastRun"]:
						failedJobTimestamps.append(details["lastRun"])
					else:
						nodata.append(name)
					continue
			else:
				if details["lastRun"]:
					failedJobTimestamps.append(details["lastRun"])
				else:
					nodata.append(name)
				continue
			
			if details["status"] & RETROSPECT_FAIL:
				failedJobTimestamps.append(details["lastRun"])
			elif details["status"] & RETROSPECT_WARNING:
				failedJobTimestamps.append(details["lastRun"])
		
		return failedJobTimestamps, nodata