def thread(self): print '\n'.join( filter(lambda x: str(self.__init__).split('<')[2].strip('>>') in x, m.scriptJob( listJobs=True )) ).strip()
def runScriptJob(): m.scriptJob( runOnce=True, idleEvent=each.thread )