{{define "title"}}{{.Title}}{{end}} {{define "content"}} {{$page := .Page}} {{$host := $page.Host}}
Dashboard/ {{$host.Name}}/ schedules
{{/* ---------- header ---------- */}}
{{if eq $host.Status "online"}} {{else}} {{end}}

schedules · {{$host.Name}}

version {{$page.Version}}{{if and (gt $page.Version 0) (ne $page.Version $page.AppliedVersion)}} · agent at v{{$page.AppliedVersion}}{{else if gt $page.Version 0}} · agent in sync{{end}}
{{/* ---------- secondary tabs ---------- */}}
Snapshots {{comma $host.SnapshotCount}} Schedules {{len $page.Schedules}}
Jobs
Repo
Settings
{{/* ---------- schedule rows ---------- */}}
{{if eq (len $page.Schedules) 0}}

No schedules yet.

Add one and the agent will start running backups on whatever cron expression you give it. Until then, run-now is the only way to trigger a backup.

{{else}}
Status
When
Paths
Retention
Tags
{{range $page.Schedules}}
{{if .Enabled}} enabled {{else}} disabled {{end}} {{if .Manual}} manual {{end}}
{{if .Manual}}— run-now only —{{else}}{{.CronExpr}}{{end}}
{{joinDot .Paths}}
{{.RetentionPolicy.Summary}}
{{- range .Tags -}}{{.}}{{- end -}}
{{if and .Enabled (eq $host.Status "online")}} {{end}} Edit
{{end}} {{end}}
{{end}}