Changeset 18692
- Timestamp:
- 12/18/16 23:43:08 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Monitoring/CheckSwiftSchedule.sh
r18657 r18692 41 41 do 42 42 printprocesslog "INFO getting Swift schedule for the night of "$date 43 echo "INFO getting Swift schedule for the night of "$date43 #echo "INFO getting Swift schedule for the night of "$date 44 44 # paths and files needed to store schedule 45 45 date2=`echo $date | sed -e 's/\//-/g'` … … 60 60 # for the date of sunset 61 61 printprocesslog "INFO Checking "$date2 62 lynx -width 200 -nolist -dump http s://www.swift.psu.edu/operations/obsSchedule.php?d=$date2 | grep $date2 >> $schedulefile62 lynx -width 200 -nolist -dump http://www.swift.psu.edu/operations/obsSchedule.php?d=$date2 | grep $date2 >> $schedulefile 63 63 # for the date of sunrise 64 64 nextday=`date +%Y-%m-%d --date=$date2"+24hour"` 65 65 printprocesslog "INFO Checking "$nextday 66 lynx -width 200 -nolist -dump http s://www.swift.psu.edu/operations/obsSchedule.php?d=$nextday | grep $nextday >> $schedulefile66 lynx -width 200 -nolist -dump http://www.swift.psu.edu/operations/obsSchedule.php?d=$nextday | grep $nextday >> $schedulefile 67 67 68 68 # check if schedule is empty
Note:
See TracChangeset
for help on using the changeset viewer.