{{ define "tasks-content" }} {{ template "nav-sidebar" . }}
{{ template "navbar-user" . }}

Server Tasks

This page lists the maintenance tasks that are periodically run on Spokes.

{{ if eq (len .Tasks) 0 }} {{ end }} {{ range $task := .Tasks }} {{ end }} {{ end}}
Task Name Last Run Duration Success Error Next Run

No active tasks.

{{ $task.Name }} {{ if $task.LastRun.IsZero }} {{ else }} {{ $task.LastRun.Format "15:04" }} on {{ $task.LastRun.Format "Mon, Jan 2, 2006" }}{{ $task.Duration.String }} {{ if not $task.LastRun.IsZero }} {{ if $task.Success }} {{ else }} {{ end }} {{ else }} {{ end }} {{ $task.ErrorMsg }} {{ $task.NextRun.Format "15:04" }} on {{ $task.NextRun.Format "Mon, Jan 2, 2006" }}
{{ template "menu-toggle" . }}
{{ end }}