Hi andrew,
On 2017-01-17 00:03:42, you wrote to me:
WV>> Your model is wrong! The checking and creating of the lock file
WV>> should be one atomic operation!
WV>> So use:
WV>> if create bash-lock-file succeeds
WV>> do hpt
WV>> do htick
WV>> delete bash-lock-file
WV>> else
WV>> do nothing
WV>> endif
WV>> Most distributions have a command for that. For instance 'lockfile'.
ac> FWIW, 'lockfile' is part of the procmail package:
Indeed. Also true for (open)SUSE ...
Bye, Wilfred.
--- FMail-W32 1.73.12.64-B20170112
* Origin: FMail development HQ (2:280/464)
|