You are here

function mostpopular_cron in Drupal Most Popular 6

Same name and namespace in other branches
  1. 7 mostpopular.module \mostpopular_cron()

Implements hook_cron().

Refreshes data from the services periodically.

File

./mostpopular.api.php, line 325
Provides functions for other modules to use to interact with the Most Popular data.

Code

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