You are here

function simplenews_cronapi in Simplenews 7.2

Same name and namespace in other branches
  1. 6.2 simplenews.module \simplenews_cronapi()
  2. 7 simplenews.module \simplenews_cronapi()

Implements hook_cronapi().

As initiated by elysia_cron. http://drupal.org/project/elysia_cron

File

./simplenews.module, line 2842
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_cronapi($op) {
  switch ($op) {
    case 'list':
      return array(
        'simplenews_cron' => t('Process simplenews mail spool'),
      );
    case 'rule':
      return '5 * * * *';
    case 'execute':
      break;
  }
}