Executable as job/task in nomad

i want to specify a job in nomad which does this: i have a executable “abcd” i want to run it. after it exits the first time itself, i want the job to be completed. how would i make the hcl.

Answered within: executable as job. · Issue #19997 · hashicorp/nomad · GitHub