Beispiel #1
0
def get_job(args):
    job_manager = JobManager()
    # Get Status
    if args.t ==1:
        print( int(job_manager.is_done(args.id)))
    # Get output
    elif args.t ==2:
        print (job_manager.get_job_output(args.id))

    sys.exit(0)
 def is_disk_deleting(self, id):
     jm = JobManager()
     return jm.is_done(id)