(jobs)
string o2job_proc_get_status(integer $runjob_id)
Returns the run-job process status.
The run-job ID ($runjob_id) is the process unique ID, as returned by o2job_run(), o2job_queue() e o2job_is_running() functions.
Status is one of values:
- Queued
- Running
- Complited
- Error