function trigger_cron

7.x trigger.module trigger_cron()
6.x trigger.module trigger_cron()

Implements hook_cron().

File

drupal-7.x/modules/trigger/trigger.module, line 447
Enables functions to be stored and executed at a later time.

Code

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