mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-70230 admin: add setting sched. task status
When defining settings that are used by scheduled tasks, it is also useful, or even needed, to know the status of that scheduled task to have the whole big picture of that part of the system. Based on the admin_setting_description, this new setting reports its name, its status, a link to the configuration. When adding a new setting of this type, the user can add an extra description field to complete the whole meaning.
This commit is contained in:
parent
411150a424
commit
9c4510a358
7 changed files with 171 additions and 8 deletions
|
@ -1300,6 +1300,8 @@ $string['task_type:scheduled'] = 'Scheduled';
|
|||
$string['task_result:failed'] = 'Fail';
|
||||
$string['task_stats:dbreads'] = '{$a} reads';
|
||||
$string['task_stats:dbwrites'] = '{$a} writes';
|
||||
$string['task_status'] = 'Task status';
|
||||
$string['task_status_desc'] = 'The task <q>{$a->name}</q> is <strong>{$a->status}</strong>.<br />See its <a href="{$a->gotourl}">details</a>.<br />Class: {$a->class}{$a->extradescription}';
|
||||
$string['task_starttime'] = 'Start time';
|
||||
$string['task_duration'] = 'Duration';
|
||||
$string['task_dbstats'] = 'Database';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue