You are here

function background_process_update_status in Background Process 6

Same name and namespace in other branches
  1. 8 background_process.module \background_process_update_status()
  2. 7.2 background_process.module \background_process_update_status()
  3. 7 background_process.module \background_process_update_status()

Set status for background process

1 call to background_process_update_status()
_background_process_queue in ./background_process.module
Worker callback for processing queued function call

File

./background_process.module, line 710

Code

function background_process_update_status($handle, $status) {
  return db_query("UPDATE {background_process} SET exec_status = %d WHERE handle = '%s'", $status, $handle);
}