Collect daily instead of every 6 hours
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user