function insight_cron in Insight 7
Implements hook_cron().
File
- ./
insight.module, line 854
Code
function insight_cron() {
if (variable_get('insight_contentanalysis_autorun_on_cron', INSIGHT_CONTENTANALYSIS_AUTORUN_ON_CRON_DEFAULT)) {
$queue = DrupalQueue::get('insight_autoanalyze');
$obj = new stdClass();
$queue
->createItem($obj);
}
}