From 799a366d70dded7967524a0595f34a27742e80db Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 13 May 2026 22:01:42 +0300 Subject: 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 --- f3s/beets-art/helm-chart/README.md | 4 ++-- f3s/beets-art/helm-chart/templates/cronjob.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'f3s') 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 -- cgit v1.2.3