RE: Virtual Call of the Wind...

From: Earl Armas (eaarmas@cisco.com-DeleteThis)
Date: Tue Mar 28 2000 - 14:11:19 PST


Received: from opus.hpl.hp.com (root@opus.hpl.hp.com-DeleteThis [15.0.168.176]) by jr.hpl.hp.com (8.8.6/8.8.6) with ESMTP id OAA25252 for <wind_talk_ls@jr.hpl.hp.com-DeleteThis>; Tue, 28 Mar 2000 14:18:34 -0800 (PST)
Received: from hplms26.hpl.hp.com (hplms26.hpl.hp.com [15.255.168.31]) by opus.hpl.hp.com (8.8.6/8.8.6) with ESMTP id OAA09004 for <wind_talk@opus.hpl.hp.com-DeleteThis>; Tue, 28 Mar 2000 14:18:34 -0800 (PST)
Received: from ups.cisco.com (ups.cisco.com [171.69.18.21]) by hplms26.hpl.hp.com (8.9.3 (PHNE_18979)/HPL-PA Relay) with ESMTP id OAA26780 for <wind_talk@opus.hpl.hp.com-DeleteThis>; Tue, 28 Mar 2000 14:18:33 -0800 (PST)
Received: from eaarmasnt1 (dhcp-b-35-196.cisco.com [171.71.35.196]) by ups.cisco.com (8.8.8/2.6/Cisco List Logging/8.8.8) with SMTP id OAA27403 for <wind_talk@opus.hpl.hp.com-DeleteThis>; Tue, 28 Mar 2000 14:07:53 -0800 (PST)
From: "Earl Armas" <eaarmas@cisco.com-DeleteThis>
To: <wind_talk@opus.hpl.hp.com-DeleteThis>
Subject: RE: Virtual Call of the Wind...
Date: Tue, 28 Mar 2000 14:11:19 -0800
Message-ID: <NDBBJNCGBKNCAOANIJOJGEFOCBAA.eaarmas@cisco.com-DeleteThis>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <200003282141.NAA13309@apm-iris4.arc.nasa.gov-DeleteThis>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

Way Cool!

> -----Original Message-----
> From: wind_talk@opus.hpl.hp.com-DeleteThis [mailto:wind_talk@opus.hpl.hp.com-DeleteThis]On
> Behalf Of Michael Schuh
> Sent: Tuesday, March 28, 2000 1:46 PM
> To: Multiple recipients of list
> Subject: Re: Virtual Call of the Wind...
>
>
> The script is set up to exit right now.
>
> > My bin/wind_report_pager.csh script has:
> >
> > ] #!/bin/csh
> > ] #
> > ] # This script is called by procmail. Procmail sends the wind report
> > ] # to it. The script finds the SFO|SoSF_SBrMt|Sac|Stoc reports and
> > ] # emails them to my pager. Only send the reports between
> 11:00 and 20:00.
> > ] #
> > ] # Michael Schuh
> > ] # July 27, 1999
> > ] #
> > ]
> > ] # exit because we are out of season.
>
> Comment out the next two lines when you want the script to work.
>
> > ] cat > /dev/null
> > ] exit(0)
> > ]
> > ] sed -n '/Current Conditions/,/Forecasts/p' | \
> > ] egrep 'SFO|SoSF_SBrMt|Sac|Stoc' | \
> > ] sed '/SFO.*0.00 /d' | \
> > ] uniq > ~/windrpt
> > ]
> > ]
> > ] set hour=`date +%H`
> > ] if ( $hour > 11 ) then
> > ] set Time=`date "+%I:%M PM"`
> > ] else
> > ] set Time=`date "+%I:%M AM"`
> > ] endif
> > ]
> > ] #The following line is for debugging. It sends my email
> account the message.
> > ] #mail -s "Pager $Time Wind Report" mschuh@mail.arc.nasa.gov-DeleteThis <
> ~/windrpt
> > ]
> > ] if ( $hour > 10 && $hour < 21 ) then
> > ] mail -s "$Time Report" 6503710040.1142141@pagenet.net-DeleteThis < ~/windrpt
> > ] endif
> >
> > Michael
> >
>
>



This archive was generated by hypermail 2b29 : Fri Sep 27 2002 - 12:23:59 PDT