Collect daily instead of every 6 hours

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 01:00:55 +00:00
co-authored by Claude Opus 5.5
parent 6e4d2f1585
commit 1af37804b3
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ Data goes to `data/airplay.db` (SQLite) and `data/rotations/*.pdf`.
## Collect continuously ## 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/ cp deploy/airplay-collect.* /etc/systemd/system/
+3 -3
View File
@@ -1,9 +1,9 @@
[Unit] [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] [Timer]
OnCalendar=*-*-* 00/6:15:00 OnCalendar=*-*-* 05:15:00
RandomizedDelaySec=10m RandomizedDelaySec=15m
Persistent=true Persistent=true
[Install] [Install]
+1 -1
View File
@@ -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. identifies itself and waits between requests.
**The big constraint:** every source of exact plays keeps only **about 7 days**. History only **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) ## DR (P3, P4 regions, P5, P6 Beat, P8 Jazz)