
Public Member Functions | |
| def | __cmp__ (self, other) |
| def | __hash__ (self) |
| def | __init__ (self, cmdline, shortname=None, environ=None, cwd=None, shell=False, timeout_seconds=5 *60, flake_retries=0, timeout_retries=0, kill_handler=None, cpu_cost=1.0, verbose_success=False, logfilename=None) |
| def | __lt__ (self, other) |
| def | __repr__ (self) |
| def | __str__ (self) |
| def | identity (self) |
Public Attributes | |
| cmdline | |
| cpu_cost | |
| cwd | |
| environ | |
| flake_retries | |
| kill_handler | |
| logfilename | |
| shell | |
| shortname | |
| timeout_retries | |
| timeout_seconds | |
| verbose_success | |
| def python_utils.jobset.JobSpec.__init__ | ( | self, | |
| cmdline, | |||
shortname = None, |
|||
environ = None, |
|||
cwd = None, |
|||
shell = False, |
|||
timeout_seconds = 5 * 60, |
|||
flake_retries = 0, |
|||
timeout_retries = 0, |
|||
kill_handler = None, |
|||
cpu_cost = 1.0, |
|||
verbose_success = False, |
|||
logfilename = None |
|||
| ) |
Arguments:
cmdline: a list of arguments to pass as the command line
environ: a dictionary of environment variables to set in the child process
kill_handler: a handler that will be called whenever job.kill() is invoked
cpu_cost: number of cores per second this job needs
logfilename: use given file to store job's output, rather than using a temporary file