open-nomad/jobspec/test-fixtures/reschedule-job.hcl

21 lines
341 B
HCL
Raw Normal View History

job "foo" {
datacenters = ["dc1"]
type = "batch"
reschedule {
attempts = 15
interval = "30m"
2018-03-07 21:26:45 +00:00
delay = "10s",
2018-03-26 19:45:09 +00:00
delay_function = "constant"
}
group "bar" {
count = 3
task "bar" {
driver = "raw_exec"
config {
command = "bash"
args = ["-c", "echo hi"]
}
}
}
}