diff --git a/monitoring/collectweather.sh b/monitoring/collectweather.sh index cc9690b..3d1de9b 100755 --- a/monitoring/collectweather.sh +++ b/monitoring/collectweather.sh @@ -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//,?lang=&units=si" -o $FILE -s