Show duration of previous task run in admin panel.
See: https://github.com/freifunkhamburg/ffffng/issues/29
This commit is contained in:
parent
3ad8eeffa2
commit
05c6cdafb7
3 changed files with 12 additions and 2 deletions
server/resources
|
@ -19,6 +19,7 @@ angular.module('ffffng').factory('TaskResource', function (
|
|||
schedule: task.schedule,
|
||||
runningSince: task.runningSince && task.runningSince.unix(),
|
||||
lastRunStarted: task.lastRunStarted && task.lastRunStarted.unix(),
|
||||
lastRunDuration: task.lastRunDuration || undefined,
|
||||
state: task.state,
|
||||
enabled: task.enabled
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue