sge.job.status {Rsge}R Documentation

Determines the state of jobs

Description

Used to determine if a job is running.

Usage

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


[Package Rsge version 0.6.1 Index]