mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
Merge branch 'MDL-72467' of git://github.com/paulholden/moodle
This commit is contained in:
commit
f014d3635a
@ -71,7 +71,8 @@ class cronrunning extends check {
|
||||
$formatexpected = format_time($expectedfrequency);
|
||||
$formatinterval = format_time($lastcroninterval);
|
||||
|
||||
$details = format_time($delta);
|
||||
// Inform user the time since last cron start.
|
||||
$details = get_string('lastcronstart', 'tool_task', $formatdelta);
|
||||
|
||||
if ($delta > $expectedfrequency + MINSECS) {
|
||||
$status = result::WARNING;
|
||||
|
@ -51,6 +51,7 @@ $string['enablerunnow_desc'] = 'Allows administrators to run a single scheduled
|
||||
$string['faildelay'] = 'Fail delay';
|
||||
$string['fromcomponent'] = 'From component: {$a}';
|
||||
$string['hostname'] = 'Host name';
|
||||
$string['lastcronstart'] = 'Time since last cron run: {$a}';
|
||||
$string['lastruntime'] = 'Last run';
|
||||
$string['lastupdated'] = 'Last updated {$a}.';
|
||||
$string['nextruntime'] = 'Next run';
|
||||
|
Loading…
x
Reference in New Issue
Block a user