You are here

function akamai_cron in Akamai 7.3

Implements hook_cron().

File

./akamai.module, line 495
Integration with Akamai CDN CCU API.

Code

function akamai_cron() {
  if (variable_get('akamai_disabled', FALSE)) {
    watchdog('akamai', 'Akamai cron task skipped because purging is disabled. Check module settings.');
    return;
  }
  module_load_include('inc', 'akamai', 'akamai.cron');
  akamai_cron_process_queue();
  akamai_cron_check_status();
}