#!/bin/csh -f
zwrite -n -d eichin -m "starting." `date`
while( ! -f /usr/tmp/eichin.stop.tape ) 
  sleep 600
  tail $1 | zwrite -n -d eichin
end
echo stopped at `date` by `who` | /bin/mail eichin 
cat $1 > /afs/athena/user/e/eichin/perl/nrflog/ex2
zwrite -n -d eichin -m "all done." `date`
