If a file called cronextra.php exists in the dataroot then cron will

run that too.  This allows sites to have "special" maintenance.
This commit is contained in:
moodler
2003-12-01 08:01:41 +00:00
parent eb12fd50d2
commit 750eeaebd5
+4
View File
@@ -95,6 +95,10 @@
}
}
if (file_exists("$CFG->dataroot/cronextra.php")) {
include("$CFG->dataroot/cronextra.php");
}
echo "Cron script completed correctly\n";
$difftime = microtime_diff($starttime, microtime());