RE: tracking emails sent

2006-02-03 Thread Charles K. Clarkson
[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

RE: tracking emails sent

2006-02-03 Thread DBSMITH
>[EMAIL PROTECTED] wrote: >: >: My problem is it mails once then i

RE: tracking emails sent

2006-02-03 Thread DBSMITH
>That "last;" statement makes certain of it. So, the second >e

RE: tracking emails sent

2006-02-03 Thread Charles K. Clarkson
[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

RE: tracking emails sent

2006-01-31 Thread Timothy Johnson
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

tracking emails sent

2006-01-31 Thread DBSMITH
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