I have 3 scripts that do some stuff. I want to run them continously and concurrently.
Let's say for example: First script took 30 minutes to finish. Second - 20 mins. Third - 5 mins.
So I need everyone of them to run immediately after it's finished. The 3 scripts make UPDATE in a same DB, but they need to work separately. They can run together at once, but not couple of times(my english sucks, sorry about that). Let's explain what I mean with example:
firstScript.php is running
secondScript.php is running
thirdScript.php is running
firstScript.php trying to start but it still running. Wait.(till finish)
May be some shell script will do the job, but how?