You are here

function messaging_cron in Messaging 6.4

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

Implementation of hook_cron()

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

File

./messaging.module, line 380

Code

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