Collector for DR and Bauer airplay; data sources and modelling plan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Airplay Predictor: collect radio plays (DR, Bauer)
|
||||
Documentation=https://git.idiotmaxxing.com/morits/Airplay-Predictor
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/root/dev/Airplay-Predictor
|
||||
ExecStart=/root/dev/Airplay-Predictor/target/release/airplay collect --db /root/dev/Airplay-Predictor/data/airplay.db
|
||||
Nice=10
|
||||
IOSchedulingClass=idle
|
||||
MemoryMax=512M
|
||||
TimeoutStartSec=3h
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Collect radio plays every 6 hours (the stations only keep about 7 days)
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 00/6:15:00
|
||||
RandomizedDelaySec=10m
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user