You are here

function background_process_cronapi in Background Process 6

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

Implements hook_cronapi().

File

./background_process.module, line 236

Code

function background_process_cronapi($op, $job = NULL) {
  switch ($op) {
    case 'list':
      return array(
        'background_process_cron' => t('Cleanup old process handles'),
      );
    case 'rule':
      return '* * * * *';
    case 'configure':
      return 'admin/settings/background-process';
  }
}