You are here

function views_send_cron in Views Send 8

Same name and namespace in other branches
  1. 6 views_send.module \views_send_cron()
  2. 7 views_send.module \views_send_cron()

Implements hook_cron().

File

./views_send.module, line 628
The Views Send module.

Code

function views_send_cron() {

  // Load cron functions.
  module_load_include('cron.inc', 'views_send');

  // Send pending messages from spool.
  views_send_send_from_spool();

  // Clear successful sent messages.
  views_send_clear_spool();
}