You are here

function mostpopular_cron in Drupal Most Popular 7

Same name and namespace in other branches
  1. 6 mostpopular.api.php \mostpopular_cron()

Implements hook_cron().

Refreshes data from the services periodically.

File

./mostpopular.module, line 996
The main file for the Most Popular module.

Code

function mostpopular_cron() {
  $t = mostpopular_refresh(TRUE);
  watchdog('mostpopular_cron', $t);
}