Re: Locking files to queue script

2020-05-11 Thread Robert Moskowitz
On 5/11/20 5:35 PM, Samuel Sieb wrote: On 5/11/20 2:13 PM, Robert Moskowitz wrote: I found https://www.putorius.net/lock-files-bash-scripts.html, and part of it is not making sense to me. The following is suppose to be an example of making a script waiting indefinitely for the an earlier in

Re: Locking files to queue script

2020-05-11 Thread Samuel Sieb
On 5/11/20 2:13 PM, Robert Moskowitz wrote: I found https://www.putorius.net/lock-files-bash-scripts.html, and part of it is not making sense to me. The following is suppose to be an example of making a script waiting indefinitely for the an earlier instance to complete: #!/bin/bash  exec 1

Locking files to queue script

2020-05-11 Thread Robert Moskowitz
My continuing educational journey. It was pointed out to me that at least procmail will lock the mail file whereas my script was not.  So I decided to see what it would take to add locking. I found https://www.putorius.net/lock-files-bash-scripts.html, and part of it is not making sense to m