You are here

function scheduler_cron in Scheduler 6

Same name and namespace in other branches
  1. 8 scheduler.module \scheduler_cron()
  2. 5 scheduler.module \scheduler_cron()
  3. 7 scheduler.module \scheduler_cron()
  4. 2.x scheduler.module \scheduler_cron()

Implementation of hook_cron().

1 call to scheduler_cron()
_scheduler_run_cron in ./scheduler.module

File

./scheduler.module, line 731

Code

function scheduler_cron() {
  $clear_cache = FALSE;
  $clear_cache |= _scheduler_publish();
  $clear_cache |= _scheduler_unpublish();
  if ($clear_cache) {

    // Clear the cache so an anonymous poster can see any changes to nodes
    cache_clear_all();
  }
}