trigger_cron

Definition

trigger_cron()
modules/trigger/trigger.module, line 314

Description

Implementation of hook_cron().

Code

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

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.