We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5f3695 commit bb8b1bfCopy full SHA for bb8b1bf
update-keps.sh
@@ -0,0 +1,18 @@
1
+#!/bin/bash
2
+# This script is run nightly by the following cron job:
3
+# m h dom mon dow command
4
+# 0 1 * * * trash-empty > /dev/null 2>&1
5
+# 0 1 * * * /home/pi/wx/update-keps.sh > /dev/null 2>&1
6
+
7
+rm /tmp/weather.txt
8
+wget -qr www.celestrak.org/NORAD/elements/weather.txt -O /tmp/weather.txt
9
10
+#rm /tmp/noaa.txt
11
+#wget -qr https://www.celestrak.org/NORAD/elements/noaa.txt -O /tmp/noaa.txt
12
13
+#-rm /tmp/amateur.txt
14
+#wget -qr https://www.celestrak.org/NORAD/elements/amateur.txt -O /tmp/amateur.txt
15
16
+cp /tmp/weather.txt /home/pi/.predict/weather.tle
17
+cp /tmp/weather.txt /home/pi/.wxtoimg/weather.txt
18
0 commit comments