Prevent Oracle to fail when inserting records with log->info empty
[moodle.git] / search / cron.php
CommitLineData
d9e1bf24 1<?php
2
791a4cec 3 /* cron script to perform all the periodic search tasks
eef868d1 4 *
791a4cec 5 * delete.php
6 * updates the index by pruning deleted documents
eef868d1 7 *
791a4cec 8 * update.php
9 * updates document info in the index if the document has been modified since indexing
eef868d1 10 *
791a4cec 11 * add.php
12 * adds documents created since the last index run
13 */
14
d9e1bf24 15 require_once('../config.php');
16 require_once("$CFG->dirroot/search/lib.php");
eef868d1 17
d9e1bf24 18 mtrace("<pre>Starting cron...\n");
eef868d1 19
6f1b1da1 20 mtrace("--DELETE----");
21 require_once("$CFG->dirroot/search/delete.php");
22 mtrace("--UPDATE----");
23 require_once("$CFG->dirroot/search/update.php");
24 mtrace("--ADD-------");
25 require_once("$CFG->dirroot/search/add.php");
26 mtrace("------------");
d9e1bf24 27
6f1b1da1 28 mtrace("cron finished.</pre>");
d9e1bf24 29
30?>