github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/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  }