You are here

function sparkpost_cron_queue_info in Sparkpost email 7

Same name and namespace in other branches
  1. 7.2 sparkpost.module \sparkpost_cron_queue_info()

Implements hook_cron_queue_info().

File

./sparkpost.module, line 216
Sparkpost integration.

Code

function sparkpost_cron_queue_info() {
  $queues[SPARKPOST_QUEUE_NAME] = array(
    'worker callback' => 'sparkpost_mailsend',
    'time' => 60,
    'skip on cron' => variable_get('sparkpost_skip_cron', FALSE),
  );
  return $queues;
}