github.com/hspak/nomad@v0.7.2-0.20180309000617-bc4ae22a39a5/jobspec/test-fixtures/reschedule-job.hcl (about)

     1  job "foo" {
     2    datacenters = ["dc1"]
     3    type = "batch"
     4    reschedule {
     5        attempts = 15
     6        interval = "30m"
     7    }
     8    group "bar" {
     9      count = 3
    10      task "bar" {
    11        driver = "raw_exec"
    12        config {
    13           command = "bash"
    14           args    = ["-c", "echo hi"]
    15        }
    16      }
    17    }
    18  }