procmail
[Top] [All Lists]

Re: External process timeout

2004-07-24 06:11:22
Some time around 07/24/2004 02:24:39, I think I heard Justin Gombos say:
* DZ-Jay <dz(_at_)caribe(_dot_)net> [2004-07-23 17:05]:

:0
* ^TO_<some_email_address>
{
        # Keep a copy
        :0 c:
        some_mailbox

        # Proces
       :0 hbi
       | some_script.pl -
}

I'm not sure if this relates to your problem, but maybe your second
recipe should declare a lockfile:

  # Proces
  :0 hbi: some_script.lock 
  | some_script.pl -


Hello,
        Thanx, but wouldn't that stop processing until some_script.pl finishes? 
 What I want to happen is for procmail to execute the script and completely 
forget it exists -- no waiting for it to finish, no checking its exit status, 
no timing-out if it takes too long.

        I don't know if this is possible, my alternative is to save the message 
to a directory and periodically have a cron job or something like that checking 
this folder and calling some_script.pl whenever it finds any messages in it.  I 
was trying to avoid this.

        Thanx!
        -dZ.

-- 
:[ DZ vs. THE WORLD]==- -- -  -

Hating anything, everything and everyone since 1996.
-- 



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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