function trigger_cron

Implements hook_cron().

File

modules/trigger/trigger.module, line 447

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.