AntokBatchelorMaintainers/batchelor — pull request #18 by cdreisbach (2014-08-31 12:32:57+00:00)
Title: Added functions to _batchelorE18.py for job monitoring and job management

- Added getListOfQueuedJobs(jobName):
Returns a list of tuples of queued and waiting jobts with
(jobID, jobRunID) which are in the in the jobState "qw".
Returns True if succesful, otherwise it will raise
a BatchelorException.

- Added setQueuedJobsOnHold(jobName):
Changes the job state of a queued job given by
getListOfQueuedJobs(jobName) into hold state.
Returns True if succesful, otherwise it will raise
a BatchelorException.

- Added setOnHoldJobsRunning(jobName):
Changes the job state of an on hold job given by
getListOfOnHoldJobs(jobName) into running state.
Returns True if succesful, otherwise it will raise
a BatchelorException.