[Info-vax] how to do a search for just today's info

pcoviello at gmail.com pcoviello at gmail.com
Wed Jan 28 14:59:46 EST 2015


On Wednesday, January 28, 2015 at 2:45:05 PM UTC-5, Norm Raphael wrote:
> >On 01/28/15, pcoviello at gmail.com<pcoviello at gmail.com> wrote:
>  >
> >On Wednesday, January 28, 2015 at 12:59:53 PM UTC-5, pcov... at gmail.com wrote:
> >> I have a constantly growing log file.
> >> 
> >> I put together a command procedure to do 2 searches, I need to have the second 
> >> search only for what is new or what is only today.
> >> 
> >> here is the first search
> >> 
> >> 01/21/15-01:09:49:245 (20f4e4b7) 0 Starting Expansion for database _DSA316:[CACHESYS.APL.GBDEBT28K]. 2000 MB requested.
> >> 01/21/15-10:41:23:539 (20f4e4b7) 0 Starting Expansion for database _DSA310:[CACHESYS.SUBCOM]. 1000 MB requested.
> >> 01/22/15-10:59:40:048 (20f4e4b7) 0 Starting Expansion for database _DSA304:[CACHESYS.PL.GBDEBT68K]. 5000 MB requested.
> >> 01/25/15-15:42:22:716 (20f4e4b7) 0 Starting Expansion for database _DSA317:[CACHESYS.CABLE.GBDEBT38K]. 5000 MB requested.
> >> 01/27/15-09:44:10:310 (20f4e4b7) 0 Starting Expansion for database _DSA311:[CACHESYS.CJVA1]. 1000 MB requested.
> >> 
> >> 
> >> in this case I would not see any today. I'll be running this 24/7 and 30 minute
> >> intervals
> >> 
> >> $ TIME_STAMP=F$TIME()
> >> $ TODAY=F$TIME()
> >> $!
> >> $ sea cachesys:cconsole.log "expansion for"/out=sys$scratch:cconsole.TMP
> >> $!
> >> $ if time_stamp .eqs. today
> >> $ then goto NEXT
> >> $ NEXT:
> >> $ Search sys$scratch:cconsole.tmp today /out=temp:cconsole_log.TXT
> >> $ IF F$FILE_ATTRIBUTES("temp:cconsole_log.txt","EOF") .EQ. 0 THEN GOTO EXIT
> >> $ mail/subject="***** CACHE Monitor *****" temp:cconsole_log.TXT "pcoviello at someplace.com"
> >> $ DELETE SYS$SCRATCH:cconsole.tmp;*
> >> $ DELETE temp:cconsole_log.txt;*
> >> $ EXIT:
> >> FACS1>
> >> 
> >> thanks
> >> Paul
> >
> >Thanks Norm, but I don't really care if they matched it was more trying to define something to search on. 
> >
> Well, Paul, I guess both Hoff and I misunderstood your problem (I'm certainly in good company).
> I'm sure I do not know what in the wide world of sports you are seeking, but you're welcome.
> Good luck!
> 
> >There's a someplace.com? :-) never even thought about that! 
> >That should work perfectly. 
> >I did try a search on c.o.v but evidently didn't use the right words.
> >
> >Thank you!
> >
>  
>  Norman F. Raphael
> "Everything worthwhile eventually 
> degenerates into real work." -Murphy

I wanted the ability to search on a date. and Hoff provided it. and it seems to work fine.  

I would love to run a newsreader but unfortunately here at work I am somewhat limited in my ability to access certain sites/ports. :-(

and what I searched on, was several iterations of search, date, file.
I did see one that was kind of close but not quite what was needed.

thanks



More information about the Info-vax mailing list