sge.job.status: Determines the state of jobs

Description Usage Arguments Details Value Author(s) See Also

Description

Used to determine if a job is running.

Usage

1
sge.job.status(jobid, qacct=getOption("sge.use.qacct"))

Arguments

jobid

ID of the job to be checked

qacct

Specifies if qacct should be used to determine the status of completed jobs

Details

This method checks the qstat command to see if the specified job is still running. It returns 0 if the specified job has completed. If qacct is set to "TRUE", then the program will return the return code of qacct \-j JOBID (0 for success, non zero for error) Otherwise, the return will be the return code for qstat \-j JOBID.

Value

0 specifies job/completion Other returns are forwarded from qacct \-j JOBID or qstat \-j JOBID.

Author(s)

Dan Bode dbode@univaud.com

See Also

sge.submit sge.list.get.result


mcvaneede/Rsge documentation built on May 21, 2019, 12:44 p.m.