[EMAIL PROTECTED] wrote:
::That "last;" statement makes certain of it. So, the second
:: email should be coming from a second instance of this script.
:: You need some mechanism to allow each instance of the script to
:: communicate with past instances or you'll need a better test
:: than elap
>[EMAIL PROTECTED] wrote:
>:
>: My problem is it mails once then i
>That "last;" statement makes certain of it. So, the second
>e
[EMAIL PROTECTED] wrote:
:
: My problem is it mails once then it will mail again about the
: same string. I want it to only mail if it finds this string
: but be smart enough not to email again if it happens again
: within a certain time frame.
You'll need to save state somehow. This script o
do a "next if $. <=
$currentLine;" at the beginning?
* What about giving us a log file with some errors in it?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 31, 2006 5:42 PM
To: beginners@perl.org
Subject: tracking emails sen
Perlers
I have Perl program that looks for a certain string in a inode backup log
file and if the log file is <= 5 minutes old it will continue on. If it
finds this string from todays date 00:01 to 00:00 on it will email a
warning.
My problem is it mails once then it will mail again about the same