job "qautomate" { periodic { cron = "*/30 * * * *" prohibit_overlap = true } datacenters = ["dc1"] type = "batch" group "app" { count = 1 task "setup" { driver = "docker" lifecycle { hook = "prestart" } config { image = "ghcr.io/sstent/ubuntu-python3" // command = "/bin/bash" args = ["-v","-c", "/local/prestart.sh"] } template { data = <