You are here

function boost_cron in Boost 5

Same name and namespace in other branches
  1. 6 boost.module \boost_cron()
  2. 7 boost.module \boost_cron()

Implementation of hook_cron(). Performs periodic actions.

File

./boost.module, line 194
Provides static page caching for Drupal.

Code

function boost_cron() {
  if (!BOOST_ENABLED) {
    return;
  }
  if (boost_cache_expire_all()) {
    watchdog('boost', t('Expired stale files from static page cache.'), WATCHDOG_NOTICE);
  }
}