nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests

commit b77b9851c5fea8524c2e7d51d1e09ca16530ea73
parent d4cc6eb5f74674cd9aafa0dcf9b9e09546270ddb
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sun, 12 May 2024 19:34:10 +0200

fix(cron): replace with crons

Warning: cron is deprecated and may be removed in a future release. Use
crons instead

Diffstat:
Mhcl/default/ampache/ampache-catalog.nomad | 6++++--
Mhcl/default/vault-tls/nomad-vault-tls.nomad | 4+++-
Mhcl/infra/snapshots/nomad-snapshots.nomad | 4+++-
3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/hcl/default/ampache/ampache-catalog.nomad b/hcl/default/ampache/ampache-catalog.nomad @@ -8,8 +8,10 @@ job "ampache-catalog" { } periodic { - #cron = "*/12 * * * *" - cron = "@daily" + crons = [ + "@daily", + #"*/12 * * * *" + ] } group "catalog-update" { diff --git a/hcl/default/vault-tls/nomad-vault-tls.nomad b/hcl/default/vault-tls/nomad-vault-tls.nomad @@ -24,7 +24,9 @@ job "vault-tls" { type = "batch" periodic { - cron = "@daily" + crons = [ + "@daily" + ] } group "vault-tls" { diff --git a/hcl/infra/snapshots/nomad-snapshots.nomad b/hcl/infra/snapshots/nomad-snapshots.nomad @@ -9,7 +9,9 @@ job "snapshot" { periodic { # At minute 6 past every hour - cron = "12 */1 * * *" + crons = [ + "12 */1 * * *" + ] } group "snapshot" {