weather files belongs to weather

This commit is contained in:
n 2022-02-12 19:04:07 +01:00
parent abf58587ec
commit 6bebeb943e
Signed by: n
GPG key ID: 510227DD6C502CE3

View file

@ -2,7 +2,7 @@
HOSTNAME="${COLLECTD_HOSTNAME:-`hostname -f`}"
INTERVAL="${COLLECTD_INTERVAL:-300}"
FILE="/tmp/weather.json"
FILE="/home/weather/tmp/weather.json"
# get $FILE using a cronjob (no more than 1000 requests per day for free - one every 5 minutes is fine) like
#curl "https://api.darksky.net/forecast/<your api key>/<latitude>,<longitude>?lang=<language>&units=si" -o $FILE -s