major whitespace cleanup - fixed tabs
[moodle.git] / search / cron.php
CommitLineData
d9e1bf24 1<?php
2
791a4cec 3 /* cron script to perform all the periodic search tasks
4 *
5 * delete.php
6 * updates the index by pruning deleted documents
7 *
8 * update.php
9 * updates document info in the index if the document has been modified since indexing
10 *
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");
17
18 mtrace("<pre>Starting cron...\n");
6f1b1da1 19
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?>