woom.job.BackgroundJobManager#
- class woom.job.BackgroundJobManager[source]#
Manager for jobs that run in background
Attributes
Methods
check_status([show])Update jobs status and show them
create_job([script, name, args, fake])Quickly create a job instance and add it to the manager
delete([jobids, name, queue])drop(job)dump()Store jobs to json files
from_scheduler(scheduler)get_command_args(command, **opts)Convert commandline specifcations and values to a list of arguments
get_job(jobid)Get
Jobfrom idget_jobs([jobids, name, queue])Get job ids
get_overview([jobids, name, queue])get_status([jobids, name, queue, fallback])Update and return jobs status
get_submission_command(script, opts[, depend])kill([jobids, name, queue])load(json_files)Load jobs from json dump files
load_job(json_file[, append])Load a single job from its json dump file
set_status([jobids, name, queue, fallback])Query status
submit(script, opts[, depend, submdir, ...])