function background_process_cronapi in Background Process 8
Same name and namespace in other branches
- 6 background_process.module \background_process_cronapi()
- 7 background_process.module \background_process_cronapi()
Implements hook_cronapi().
File
- ./
background_process.module, line 166 - This module implements a framework for calling funtions in the background.
Code
function background_process_cronapi($op, $job = NULL) {
switch ($op) {
case 'list':
return [
'background_process_cron' => t('Cleanup old process handles'),
];
case 'rule':
return '* * * * *';
case 'configure':
return 'admin/config/system/background-process';
}
}