in reply to Watch log for string (tail -f)
I think the tail -f will continue until interrupted as other posters pointed out.
I was wondering also why you used {$path} in the line my $logFile = "{$path}/DHCPD.log.{$currentDate}" rather than the variable you created, {$logPath}?
Is this a typo?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Watch log for string (tail -f)
by hmb104 (Sexton) on Oct 12, 2012 at 15:24 UTC | |
by live4tech (Sexton) on Oct 14, 2012 at 04:41 UTC |
In Section
Seekers of Perl Wisdom