You are here

function messaging_cron in Messaging 7

Same name and namespace in other branches
  1. 5 messaging.module \messaging_cron()
  2. 6.4 messaging.module \messaging_cron()
  3. 6 messaging.module \messaging_cron()
  4. 6.2 messaging.module \messaging_cron()
  5. 6.3 messaging.module \messaging_cron()

Implementation of hook_cron()

Process queued messages for delivery, update, do clean up...

File

./messaging.module, line 308

Code

function messaging_cron() {
  if (variable_get('messaging_queue_process_cron', TRUE)) {
    if ($store = messaging_store('cron')) {
      $store
        ->cron_process();
    }
  }
}