1.8 * @date 2008/03/31 * @version prepared for 2.0 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License */ try{ ini_set('max_execution_time', 300); if (empty($CFG->extramemorylimit)) { raise_memory_limit('128M'); } else { raise_memory_limit($CFG->extramemorylimit); } mtrace("\n--DELETE----"); require_once($CFG->dirroot.'/search/delete.php'); mtrace("--UPDATE----"); require_once($CFG->dirroot.'/search/update.php'); mtrace("--ADD-------"); require_once($CFG->dirroot.'/search/add.php'); mtrace("------------"); //mtrace("cron finished."); mtrace('done'); } catch(Exception $ex){ mtrace('Fatal exception from Lucene subsystem. Search engine may not have been updated.'); mtrace($ex); } ?>