posted 15 years ago
I tried sleep & wait command as shown below.
In the script, there are two while loops. Each is having sleep command.
first loop is going in the sleep for 5 seconds and second loop is going in the loop for 2 seconds. I want when first loop goes in the sleep second loop should start it's execution & when second goes in the sleep first should start the execution.
But after execution it completes first_loop and then starts second_loop execution.
[ June 20, 2008: Message edited by: minal silimkar ]