You are here

function simplenews_cron in Simplenews 6

Same name and namespace in other branches
  1. 8.2 simplenews.module \simplenews_cron()
  2. 8 simplenews.module \simplenews_cron()
  3. 5 simplenews.module \simplenews_cron()
  4. 6.2 simplenews.module \simplenews_cron()
  5. 7.2 simplenews.module \simplenews_cron()
  6. 7 simplenews.module \simplenews_cron()
  7. 3.x simplenews.module \simplenews_cron()

Implementation of hook_cron().

1 call to simplenews_cron()
simplenews_cron_action in simplenews_action/simplenews_action.module
Implementation of a Drupal action. Send pending simplenews newsletters.

File

./simplenews.module, line 675
Simplnews node handling, sent email, newsletter block and general hooks

Code

function simplenews_cron() {
  simplenews_mail_spool();
  simplenews_clear_spool();

  // Update sent status for newsletter admin panel.
  simplenews_send_status_update();
}