github.com/rohankumardubey/nomad@v0.11.8/e2e/taskevents/input/simple_batch.nomad (about)

     1  job "simple_batch" {
     2    type        = "batch"
     3    datacenters = ["dc1"]
     4  
     5    constraint {
     6      attribute = "${attr.kernel.name}"
     7      value     = "linux"
     8    }
     9  
    10    task "simple_batch" {
    11      driver = "raw_exec"
    12  
    13      config {
    14        command = "sleep"
    15        args    = ["1"]
    16      }
    17    }
    18  }