function background_process_update_status in Background Process 8
Same name and namespace in other branches
- 6 background_process.module \background_process_update_status()
- 7.2 background_process.module \background_process_update_status()
- 7 background_process.module \background_process_update_status()
Implements to 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 617 - This module implements a framework for calling funtions in the background.
Code
function background_process_update_status($handle, $status) {
db_update('background_process')
->fields([
'exec_status' => $status,
])
->condition('handle', $handle)
->execute();
}