From 1af37804b32b236802a7668f372c0895a1f84abb Mon Sep 17 00:00:00 2001 From: moritsbw-cpu Date: Sun, 15 Nov 2026 01:00:55 +0000 Subject: [PATCH] Collect daily instead of every 6 hours Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- deploy/airplay-collect.timer | 6 +++--- docs/DATA_SOURCES.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 48a6af0..05beae4 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Data goes to `data/airplay.db` (SQLite) and `data/rotations/*.pdf`. ## Collect continuously -The sources forget after about a week. `deploy/` has a systemd timer that collects every 6 hours: +The sources forget after about a week. `deploy/` has a systemd timer that collects daily (a weekly run would have no margin): ``` cp deploy/airplay-collect.* /etc/systemd/system/ diff --git a/deploy/airplay-collect.timer b/deploy/airplay-collect.timer index f7113a9..fdd52ef 100644 --- a/deploy/airplay-collect.timer +++ b/deploy/airplay-collect.timer @@ -1,9 +1,9 @@ [Unit] -Description=Collect radio plays every 6 hours (the stations only keep about 7 days) +Description=Collect radio plays daily (the stations only keep about 7 days, so this leaves 6 days of margin) [Timer] -OnCalendar=*-*-* 00/6:15:00 -RandomizedDelaySec=10m +OnCalendar=*-*-* 05:15:00 +RandomizedDelaySec=15m Persistent=true [Install] diff --git a/docs/DATA_SOURCES.md b/docs/DATA_SOURCES.md index 343e2fa..1318120 100644 --- a/docs/DATA_SOURCES.md +++ b/docs/DATA_SOURCES.md @@ -4,7 +4,7 @@ Found on 2026-11-15. All of these sources are public and need no login or API ke identifies itself and waits between requests. **The big constraint:** every source of exact plays keeps only **about 7 days**. History only -exists from the day collection starts, so the collector runs every 6 hours. +exists from the day collection starts, so the collector runs daily. ## DR (P3, P4 regions, P5, P6 Beat, P8 Jazz)