function subscriptions_mail_cron in Subscriptions 2.0.x
Same name and namespace in other branches
- 5.2 subscriptions_mail.module \subscriptions_mail_cron()
- 6 subscriptions_mail.module \subscriptions_mail_cron()
- 7 subscriptions_mail.module \subscriptions_mail_cron()
Implements hook_cron().
Takes items from {subscriptions_queue} and generates notification emails.
File
- subscriptions_mail/
subscriptions_mail.module, line 32 - Subscriptions module mail gateway.
Code
function subscriptions_mail_cron() {
_subscriptions_mail_module_load_include('cron.inc');
_subscriptions_mail_cron_is_running(TRUE);
_subscriptions_mail_cron();
_subscriptions_mail_cron_is_running(FALSE);
}