sge.job.status {Rsge} | R Documentation |
Used to determine if a job is running.
sge.job.status(jobid, qacct=getOption("sge.use.qacct"))
jobid |
ID of the job to be checked |
qacct |
Specifies if qacct should be used to determine the status of completed jobs |
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.
0 specifies job/completion Other returns are forwarded from qacct -j JOBID or qstat -j JOBID.
Dan Bode dbode@univaud.com
sge.submit
sge.list.get.result