Index

(jobs)

o2job_proc_kill

string o2job_proc_kill(integer $runjob_id)

Kills the run-job process.
The run-job ID ($runjob_id) is the process unique ID, as returned by o2job_run(), o2job_queue() e o2job_is_running() functions.
Processes running on this host are killed, ones running on other machines are marked for killing and they will be physically killed by owner registered service.


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

o2job_run

o2job_queue

o2job_proc_get_status