You are here

function feeds_cron_job_scheduler_info in Feeds 7.2

Same name and namespace in other branches
  1. 8.2 feeds.module \feeds_cron_job_scheduler_info()

Implements hook_cron_job_scheduler_info().

Compare queue names with key names in feeds_cron_queue_info().

Related topics

File

./feeds.module, line 94
Feeds - basic API functions and hook implementations.

Code

function feeds_cron_job_scheduler_info() {
  $info = array();
  $info['feeds_source_import'] = array(
    'queue name' => 'feeds_source_import',
  );

  // feeds_source_clear never gets called, since we now use the queue directly.
  // This is left in case any background jobs are still running after an
  // upgrade.
  $info['feeds_source_clear'] = array(
    'queue name' => 'feeds_source_clear',
  );
  $info['feeds_source_expire'] = array(
    'queue name' => 'feeds_source_expire',
  );
  $info['feeds_push_unsubscribe'] = array(
    'queue name' => 'feeds_push_unsubscribe',
  );
  return $info;
}