From 6ecd7df30d2b762cf756ad76eab15b30efebf93d Mon Sep 17 00:00:00 2001 From: wizzdom Date: Sat, 14 Sep 2024 13:14:09 +0100 Subject: [PATCH] socs: add dcumps.ie (#60) --- jobs/socs/mps-site-update.hcl | 36 +++++++++++++++ jobs/socs/mps-site.hcl | 86 +++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 jobs/socs/mps-site-update.hcl create mode 100644 jobs/socs/mps-site.hcl 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 = <