You are here

function views_send_cron in Views Send 6

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

Implementation of hook_cron().

See also

http://api.drupal.org/api/function/hook_cron/6

File

./views_send.module, line 543
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();
}