trigger_cron

Versions
6 – 7
trigger_cron()

Implementation of hook_cron().

Code

modules/trigger/trigger.module, line 314

<?php
function trigger_cron() {
  $aids = _trigger_get_hook_aids('cron', 'run');
  $context = array(
    'hook' => 'cron',
    'op' => 'run',
  );
  // Cron does not act on any specific object.
  $object = NULL;
  actions_do(array_keys($aids), $object, $context);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.