I have a shell script calling another in a loop.
However, I want to make sure the second script is not running prior to calling it again.
How do I do so?
My master script is workmaster.sh
The subscript is SPLMaster.sh
How do I force workmaster.sh to wait until SPLMaster.sh is complete prior to calling it again?