Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

20 linhas
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