github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/e2e/periodic/input/simple.nomad (about)

     1  job "periodic" {
     2    datacenters = ["dc1"]
     3    type        = "batch"
     4  
     5    constraint {
     6      attribute = "${attr.kernel.name}"
     7      value     = "linux"
     8    }
     9  
    10  
    11    periodic {
    12      cron             = "* * * * *"
    13      prohibit_overlap = true
    14    }
    15  
    16    group "group" {
    17      task "task" {
    18        driver = "docker"
    19  
    20        config {
    21          image   = "busybox:1"
    22          command = "/bin/sh"
    23          args    = ["-c", "sleep 5"]
    24        }
    25      }
    26    }
    27  }