diff --git a/jobs/socs/mps-site-update.hcl b/jobs/socs/mps-site-update.hcl new file mode 100644 index 0000000..c979078 --- /dev/null +++ b/jobs/socs/mps-site-update.hcl @@ -0,0 +1,36 @@ +job "mps-site-update" { + datacenters = ["aperture"] + type = "batch" + + periodic { + crons = ["0 */6 * * * *"] + prohibit_overlap = true + } + + group "mps-site-update" { + + task "mps-site-update" { + driver = "raw_exec" + + config { + command = "/bin/bash" + args = ["local/script.sh"] + } + + template { + data = <