From 8819180c25814fc5af9bac93a63ccb2d2fdaf8ce Mon Sep 17 00:00:00 2001 From: wizzdom Date: Wed, 5 Feb 2025 19:18:04 +0100 Subject: [PATCH] add uri-meetups job (#92) --- .../general/urri-meetups-update.hcl | 36 ++++++++++++++ jobs/user-projects/general/urri-meetups.hcl | 47 +++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 jobs/user-projects/general/urri-meetups-update.hcl create mode 100644 jobs/user-projects/general/urri-meetups.hcl diff --git a/jobs/user-projects/general/urri-meetups-update.hcl b/jobs/user-projects/general/urri-meetups-update.hcl new file mode 100644 index 0000000..e7fa6a9 --- /dev/null +++ b/jobs/user-projects/general/urri-meetups-update.hcl @@ -0,0 +1,36 @@ +job "urri-meetups-update" { + datacenters = ["aperture"] + type = "batch" + + periodic { + crons = ["0 */6 * * * *"] + prohibit_overlap = true + } + + group "urri-meetups-update" { + + task "urri-meetups-update" { + driver = "raw_exec" + + config { + command = "/bin/bash" + args = ["local/script.sh"] + } + + template { + data = <