#! /bin/csh # getmoor - Shell script to download data from OASIS moorings at M1 and M2 # and extract the data # /oasis/bin/getm1 /oasis/bin/m1 >/tmp/m1.out /oasis/bin/getm2 /oasis/bin/m2 >/tmp/m2.out set hour = `date +%H` if ( ($hour <= 6) || ($hour >= 20) ) then /oasis/bin/getm3 /oasis/bin/process.m3 endif