Description |
{{.JobConfig.Description}} |
Cron |
{{.JobConfig.Cron}} |
Command |
{{if eq .JobConfig.Type 1}}{{.JobConfig.Command}}{{else if eq .JobConfig.Type 2}}{{.JobConfig.SqlText}}{{end}} |
Status |
{{if eq .Status 0}}⯀ inactive{{end}}{{if eq .Status 1}}⯈ running{{end}}{{if eq .Status 2}}⯁ error{{end}}{{if eq .Status 3}}⟳ restarting{{end}} |
Stats
|
Start time |
{{.LastStartTime}} |
Finish time |
{{.LastEndTime}} |
Duration |
{{.LastExecutionDuration}} |
Last error |
{{.LastError}} |
Next launch |
{{.NextLaunch}} |
On error action
|
Restart rule |
{{if eq .JobConfig.RestartRule 0}}no restart{{end}}{{if eq .JobConfig.RestartRule 1}}restart on error{{end}} |
Number of restart attempts |
{{.JobConfig.NumberOfRestartAttemts}} |
Restart delay |
{{if eq .JobConfig.RestartSec 0}}none{{else}}{{.JobConfig.RestartSec}} sec{{end}} |