MDL-64454 Admin: Configuration option for cron frequency warning

This change makes the warning time (default 200 seconds) configurable
in config.php.
This commit is contained in:
sam marshall 2019-01-08 12:14:57 +00:00
parent b18034ed67
commit ff13ae5906
4 changed files with 13 additions and 3 deletions

View file

@ -599,6 +599,12 @@ $CFG->admin = 'admin';
//
// $CFG->disablelogintoken = true;
//
// Moodle 3.7+ checks that cron is running frequently. If the time between cron runs
// is greater than this value (in seconds), you get a warning on the admin page. (This
// setting only controls whether or not the warning appears, it has no other effect.)
//
// $CFG->expectedcronfrequency = 200;
//
//=========================================================================
// 7. SETTINGS FOR DEVELOPMENT SERVERS - not intended for production use!!!
//=========================================================================