gridtk.manager¶
Classes
|
This job manager defines the basic interface for handling jobs in the SQL database. |
- class gridtk.manager.JobManager(database='submitted.sql3', wrapper_script=None, debug=False)[source]¶
Bases:
object
This job manager defines the basic interface for handling jobs in the SQL database.
- run_job(job_id, array_id=None)[source]¶
This function is called to run a job (e.g. in the grid) with the given id and the given array index if applicable.
- list(job_ids, print_array_jobs=False, print_dependencies=False, long=False, print_times=False, status=('submitted', 'queued', 'waiting', 'executing', 'success', 'failure'), names=None, ids_only=False)[source]¶
Lists the jobs currently added to the database.