job "simple-test" { datacenters = ["dc1"] type = "batch" group "test" { count = 1 task "simple" { driver = "exec" config { command = "/bin/sh" args = ["-c", "echo 'Hello from Nomad!' && sleep 5"] } resources { cpu = 100 memory = 128 } } } }