summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-13 22:01:42 +0300
committerPaul Buetow <paul@buetow.org>2026-05-13 22:01:42 +0300
commit799a366d70dded7967524a0595f34a27742e80db (patch)
tree2f309e644835fec9838e3ebf3c354d7887fb1467
parent3ec22093cce105c1703bcc37ac554e52eed94e9d (diff)
f3s/beets-art: schedule at noon Europe/Sofia instead of 03:30 UTC
Use the CronJob timeZone field (GA since k8s 1.27, supported by the k3s 1.32 cluster) so cron interprets the schedule in local time directly, avoiding manual UTC conversion. Amp-Thread-ID: https://ampcode.com/threads/T-019e223a-d137-705e-879b-84130c0e78ea Co-authored-by: Amp <amp@ampcode.com>
-rw-r--r--f3s/beets-art/helm-chart/README.md4
-rw-r--r--f3s/beets-art/helm-chart/templates/cronjob.yaml6
2 files changed, 5 insertions, 5 deletions
diff --git a/f3s/beets-art/helm-chart/README.md b/f3s/beets-art/helm-chart/README.md
index e15c6db..75b86a2 100644
--- a/f3s/beets-art/helm-chart/README.md
+++ b/f3s/beets-art/helm-chart/README.md
@@ -8,8 +8,8 @@ then picks the new art up.
## What it does
-Every night at 03:30 UTC the CronJob runs three idempotent steps inside a
-single short-lived pod on r1:
+Every day at 12:00 Europe/Sofia (noon local) the CronJob runs three
+idempotent steps inside a single short-lived pod on r1:
1. `beet import -A -q --quiet-fallback=asis /music` — registers any new
albums in the beets library (`incremental: yes` skips already-known
diff --git a/f3s/beets-art/helm-chart/templates/cronjob.yaml b/f3s/beets-art/helm-chart/templates/cronjob.yaml
index 55125ff..132160d 100644
--- a/f3s/beets-art/helm-chart/templates/cronjob.yaml
+++ b/f3s/beets-art/helm-chart/templates/cronjob.yaml
@@ -22,9 +22,9 @@ metadata:
name: beets-art
namespace: services
spec:
- # 03:30 UTC nightly: off-peak, well before Navidrome's next scan slot,
- # leaves headroom for a long first-run backfill.
- schedule: "30 3 * * *"
+ # Noon local time. timeZone is GA in k8s 1.27+; k3s 1.32 supports it.
+ schedule: "0 12 * * *"
+ timeZone: Europe/Sofia
# Forbid stacking: a long backfill run must not get a second worker on
# top of it (would race on the SQLite library DB).
concurrencyPolicy: Forbid