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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user