function progress_cronapi in Background Process 8
Implements hook_cronapi().
File
- progress/
progress.module, line 183 - Progress framework for keeping track of progresses. @todo Force MyISAM for table {progress} to avoid transaction/isolation level problems, and use INSERT DELAYED for performance.
Code
function progress_cronapi($op, $job = NULL) {
switch ($op) {
case 'list':
return [
'progress_cron' => t('Cleanup old progresses'),
];
}
}