function background_process_keepalive in Background Process 7.2
Same name and namespace in other branches
- 8 background_process.module \background_process_keepalive()
- 6 background_process.module \background_process_keepalive()
- 7 background_process.module \background_process_keepalive()
Keep the current background process alive (meaning restart it when it exits)
File
- ./
background_process.module, line 681
Code
function background_process_keepalive() {
$process = BackgroundProcess::currentProcess();
$process
->keepAlive();
}