mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
customized cron should be in dirroot/local/cron.php
This commit is contained in:
parent
b1d9fa9b22
commit
40e473bfe1
@ -514,9 +514,9 @@
|
||||
|
||||
// run any customized cronjobs, if any
|
||||
// looking for functions in lib/local/cron.php
|
||||
if (file_exists($CFG->libdir.'/local/cron.php')) {
|
||||
if (file_exists($CFG->dirroot.'/local/cron.php')) {
|
||||
mtrace('Processing customized cron script ...', '');
|
||||
include_once($CFG->libdir.'/local/cron.php');
|
||||
include_once($CFG->dirroot.'/local/cron.php');
|
||||
mtrace('done.');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user