On Sat, Feb 21, 2004 at 12:15:28PM -0700, Ian D. wrote:
I was able to use a "regional" lock by changing this:
:0:/var/tmp/.salearn.$FROM
RESULTS=|su daemon -c "$SALEARN" <$CACHEFILE 2>&1
to this:
LOCKFILE=/var/tmp/.salearn.$FROM
RESULTS=`su daemon -c "$SALEARN" <$CACHEFILE 2>&1`
LOCKFILE
Works like a champ. Thanks for your ideas.
Cool beans.
I would think, also, you could put the recipe version
with the pipe-to-var between there with the same outcome.
But I don't have time to check it.
--
dman
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail