From 1b152ae42a2c5c54bc2429a9492013a573478f92 Mon Sep 17 00:00:00 2001 From: James Wood Date: Thu, 6 Aug 2020 15:26:20 +1000 Subject: [PATCH] sort --- predict/schedule_all.sh | 3 ++- predict/upcoming.txt | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/predict/schedule_all.sh b/predict/schedule_all.sh index 44fbb27..5e6ec55 100755 --- a/predict/schedule_all.sh +++ b/predict/schedule_all.sh @@ -22,4 +22,5 @@ for i in `atq | awk '{print $1}'`;do atrm $i;done /home/pi/weather/predict/schedule_satellite.sh "FUNCUBE-1" 145.9500 /home/pi/weather/predict/schedule_satellite.sh "METEOR-M 2" 137.1000 -sort /home/pi/weather/predict/upcoming.txt +sort /home/pi/weather/predict/upcoming.txt > /home/pi/weather/predict/sorted.txt +mv /home/pi/weather/predict/sorted.txt /home/pi/weather/predict/upcoming.txt diff --git a/predict/upcoming.txt b/predict/upcoming.txt index b1d5681..af9bc53 100644 --- a/predict/upcoming.txt +++ b/predict/upcoming.txt @@ -1,8 +1,8 @@ -20:39 08/06/20 137.9125 26° NOAA 18 -22:19 08/06/20 137.9125 34° NOAA 18 17:25 08/06/20 137.1000 29° NOAA 19 +17:26 08/06/20 145.9500 73° FUNCUBE-1 19:06 08/06/20 137.1000 29° NOAA 19 19:09 08/06/20 137.6200 61° NOAA 15 -17:26 08/06/20 145.9500 73° FUNCUBE-1 19:29 08/06/20 137.1000 36° METEOR-M 2 +20:39 08/06/20 137.9125 26° NOAA 18 21:09 08/06/20 137.1000 24° METEOR-M 2 +22:19 08/06/20 137.9125 34° NOAA 18