You are here

function fuzzysearch_cron in Fuzzy Search 6

Implementation of hook_cron().

File

./fuzzysearch.module, line 237
Module file for fuzzysearch module.

Code

function fuzzysearch_cron() {
  $query = db_query_range("SELECT nid FROM {fuzzysearch_index_queue}", 0, variable_get('fuzzysearch_index_cron', 150));
  while ($result = db_fetch_object($query)) {
    fuzzysearch_index($result->nid);
  }
}