You are here

function background_process_ass_cronapi in Background Process 7.2

Same name and namespace in other branches
  1. 8 background_process_ass/background_process_ass.module \background_process_ass_cronapi()
  2. 6 background_process_ass/background_process_ass.module \background_process_ass_cronapi()
  3. 7 background_process_ass/background_process_ass.module \background_process_ass_cronapi()

Implements hook_cronapi().

File

background_process_ass/background_process_ass.module, line 72
@todo Implement admin interface. @todo Fix runtime check of running process.

Code

function background_process_ass_cronapi() {
  $items = array();
  $items['background_process_ass_cron'] = array(
    'description' => t('Unlock dead processes'),
    'rules' => array(
      '* * * * *',
    ),
    'configure' => 'admin/config/system/background-process/ass',
  );
  return $items;
}