Re:Minimal safe Bash script template
by mradzikowski on Tuesday December 15, 2020 @11:16AM
(#25431628)
Well, I agree with your cron argument. On the other hand - sometimes I have some utility scripts, for example to trigger some processing, that I want to run multiple times at the same time, with different arguments. So lock is not a universal thing for me. (I'm the article author btw)
[ Parent
| on HN ]
Re:Minimal safe Bash script template
by michaelcampbell on Thursday December 17, 2020 @09:56AM
(#25456090)
Sure; my template is a one-size-fits-all thing, so if I know I'm not worried about race conditions for a file I just remove that bit.