You are here

function subscriptions_mail_cron in Subscriptions 6

Same name and namespace in other branches
  1. 5.2 subscriptions_mail.module \subscriptions_mail_cron()
  2. 7 subscriptions_mail.module \subscriptions_mail_cron()
  3. 2.0.x subscriptions_mail/subscriptions_mail.module \subscriptions_mail_cron()

Implementation of hook_cron().

Takes items from {subscriptions_queue} and generates notification emails.

File

./subscriptions_mail.module, line 29
Subscriptions module mail gateway.

Code

function subscriptions_mail_cron() {

  // set_time_limit(3600);  drupal_set_message('DON\'T FORGET TO REMOVE THE TIME LIMIT EXTENSION!!!');
  include_once drupal_get_path('module', 'subscriptions_mail') . '/subscriptions_mail.cron.inc';
  _subscriptions_mail_cron();
}