procmail
[Top] [All Lists]

Re: locking the logfile -- how to?

1997-08-22 21:11:34

I could do this, but I want to keep the log all in one for a very simple  
reason:  I have an application which pops up whenever something is added to  
the log (ie a new message is filed).  After 30 seconds, it goes away again.

Well, that's a legitimate reason.  But maybe there are other ways.  How
much control over that application do you have?  Could you do something
like:


LOGFILE=`unique_name_generator`

:0ic
| popup_application < $LOGFILE

:0
* other stuff


OR


:0
* filing_condition
{
  :0c
  folder

  :0
  | popup_application < $LOGFILE
}

??

<Prev in Thread] Current Thread [Next in Thread>