set a SIGALRM handler and an alarm for 5 minutes. set a flag from the handler.
do the parsing only if the flag is set.
/kk
> ----- Original Message -----
> From: "Yacketta, Ronald" <[EMAIL PROTECTED]>
> To: "Beginners (E-mail)" <[EMAIL PROTECTED]>
> Sent: Wednesday, August 08, 2001 5:43 AM
> Subject: a little help here please
>
>
> > I have a script that does a bunch of things, one of which parses a large
> > amount of log files
> > every cycle through the script, what would I need todo to the script to
> only
> > parse the logfiles every 5 minutes ; yet not impacting the rest of the
> > script?
> >
> > Regards,
> > Ron
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]