You are here

final public static function UltimateCronPlugin::hook_cron_post_schedule in Ultimate Cron 7.2

Invoke hook_cron_post_schedule() on plugins.

1 call to UltimateCronPlugin::hook_cron_post_schedule()
UltimateCronJob::isScheduled in ./ultimate_cron.job.inc
Check job schedule.

File

./ultimate_cron.plugin.inc, line 141
Plugin framework for Ultimate Cron.

Class

UltimateCronPlugin
This is the base class for all Ultimate Cron plugins.

Code

public static final function hook_cron_post_schedule($job, &$result) {
  ctools_include('plugins');
  $plugin_types = ctools_plugin_get_plugin_type_info();
  foreach ($plugin_types['ultimate_cron'] as $plugin_type => $info) {
    $plugins = _ultimate_cron_plugin_load_all($plugin_type);
    foreach ($plugins as $plugin) {
      if ($plugin
        ->isValid($job)) {
        $plugin
          ->cron_post_schedule($job, $result);
      }
    }
  }
}