Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

20 rindas
676 B

  1. #!/bin/sh
  2. ## debug
  3. #set -x
  4. . ~/.noaa.conf
  5. wget -qr https://www.celestrak.com/NORAD/elements/weather.txt -O "${NOAA_HOME}"/predict/weather.txt
  6. grep "NOAA 15" "${NOAA_HOME}"/predict/weather.txt -A 2 > "${NOAA_HOME}"/predict/weather.tle
  7. grep "NOAA 18" "${NOAA_HOME}"/predict/weather.txt -A 2 >> "${NOAA_HOME}"/predict/weather.tle
  8. grep "NOAA 19" "${NOAA_HOME}"/predict/weather.txt -A 2 >> "${NOAA_HOME}"/predict/weather.tle
  9. #Remove all AT jobs
  10. for i in $(atq | awk '{print $1}');do atrm "$i";done
  11. #Schedule Satellite Passes:
  12. "${NOAA_HOME}"/schedule_sat.sh "NOAA 19" 137.1000
  13. "${NOAA_HOME}"/schedule_sat.sh "NOAA 18" 137.9125
  14. "${NOAA_HOME}"/schedule_sat.sh "NOAA 15" 137.6200