You are here

function revision_scheduler_cron_queue_info in Revision scheduler 7

Implements hook_cron_queue_info().

File

./revision_scheduler.module, line 334

Code

function revision_scheduler_cron_queue_info() {
  $info['revision_scheduler'] = array(
    'worker callback' => 'revision_scheduler_queue_process_item',
    'time' => variable_get('revision_scheduler_cron_time', 30),
    'skip on cron' => variable_get('revision_scheduler_cron_disable', FALSE),
  );
  return $info;
}