您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

14 行
584 B

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