open-nomad/e2e/scheduler_sysbatch/input/sysbatch_periodic.nomad

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
476 B
Plaintext
Raw Normal View History

job "sysbatchjob" {
datacenters = ["dc1", "dc2"]
type = "sysbatch"
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
periodic {
cron = "*/15 * * * * *"
prohibit_overlap = true
}
group "sysbatch_job_group" {
count = 1
task "sysbatch_task" {
driver = "docker"
config {
image = "busybox:1"
command = "/bin/sh"
args = ["-c", "echo hi; sleep 1"]
}
}
}
}