Index

(jobs)

o2job_proc_get_status

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


Parameters:
  1. $runjob_id
  2. Run-job (process) ID to look for
Related functions:

o2job_run

o2job_queue

o2job_is_running