procmail
[Top] [All Lists]

Re: locking a script

2000-12-21 15:34:09
On Thu, Dec 21, 2000 at 12:23:17PM -0800, Collin Park wrote:
Here's what I'd do:

...
    :0: something.lock
    |cd /home/httpd/turn;su -c ./mail2sms.pl nobody

This is only appropriate for a delivering recipe, and only when you're going
to deliver to file (which needs to be locked to prevent something else from
trying to write to that file while it is open).

-- 
Andrew Edelstein                http://andrew.pure-chaos.com

"Please, Andrew - change this; its doing things to me..."
                                Caramia, Userfriendly fan list
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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