woom.job.ScheduledJob#
- class woom.job.ScheduledJob(manager, name, script, args, queue=None, jobid=None, submission_date=None, status='UNKNOWN', subproc=None, artifacts=None, submission_dir=None, blocking=True)[source]#
- __init__(manager, name, script, args, queue=None, jobid=None, submission_date=None, status='UNKNOWN', subproc=None, artifacts=None, submission_dir=None, blocking=True)#
Attributes
dictof job files like script, status, out, err and jsonMethods
cancel([graceful, timeout])Kill the job using scheduler commands
dump([json_file])Export to json in job script directory
get_overview([update])get_status([fallback])Query and set the status of this job
kill([graceful, timeout])Kill the job using scheduler commands
load(manager, json_file[, append])Load a job into a manager from a json file
Query status for a single job
set_status(status[, fallback])Set the status of this job without query
to_dict()wait()Wait for a job to finish