I'm continually surprised by the information-free subject headers. Most
people
that start a new thread here need help; that's why they're here. Not
flaming,
just hoping that people will take into account the potential usefulness of
subject lines (i.e., "Oooo, I know how to do that!" or "Oooo, I need to know
how to do that too!" etc.)
> 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?
Somebody suggested "sleep" which would impact the rest of the script. That
might lead me to think that the logfile portion of the script should be
removed as it is a script of a different color.
Another option would be to store a time somewhere and at every script
iteration check to see if "enough" time has passed to process the logfile
portion of the script again.
I like the first idea better-separate out the oddball and either cron
(*nix),
schedule (etc.), or sleep (any) it.
Dave
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]