MDL-67211 Tasks: Record when a task is running.
Co-authored-by: Sam Marshall <[email protected]>
This commit is contained in:
co-authored by
Sam Marshall
parent
96fac6d9ce
commit
59a5923924
@@ -75,6 +75,8 @@ class database_logger implements task_logger {
|
||||
'dbwrites' => $dbwrites,
|
||||
'result' => (int) $failed,
|
||||
'output' => file_get_contents($logpath),
|
||||
'hostname' => $task->get_hostname(),
|
||||
'pid' => $task->get_pid(),
|
||||
];
|
||||
|
||||
if (is_a($task, adhoc_task::class) && $userid = $task->get_userid()) {
|
||||
|
||||
Reference in New Issue
Block a user