procmail
[Top] [All Lists]

file locking

1998-02-17 21:33:56
Hi,
        I have a question about file locking:
        I have the following condition
:0:$HOME/locked
* some condition
$HOME/locked

:0a
sh blahblah $HOME/locked

        I have two questions:

1) I need to make sure that $HOME/locked stays locked until blah blah does
it's stuff.  How to I make sure that the file stays locked (note, this
could be as long as 15-20 min).
2) What is the difference between the "a" and the "A" flag?  I'm not sure.


--
  Matthew Saroff  | Standard Disclaimer:  Not only do I speak for
       _____      | No one else, I don't even Speak for me.  All my 
      / o o \     | personalities and the spirits that I channel
______|_____|_____| disavow all knowledge of my activities. ;-)
  uuu    U   uuu  | 
                  | In fact, all my personalities and channeled spirits
Saroff wuz here   | hate my guts. (Well, maybe with garlic & butter...)
For law enforcment officials monitoring the net: abortion, marijuana, cocaine,
cia,plutonium, ammonium nitrate, militia, dea, nsa, pgp, hacker, assassinate.
Send suggestions for new and interesting words to: 
msaroff(_at_)123456(_dot_)pobox(_dot_)com (remove the numbers to reply)
Check http://www.pobox.com/~msaroff, including The Bad Hair Web Page

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