Search Results

Search: Posts Made By: Sui
4,697
Posted By Sui
I see yeah that make sense, I think that I don't...
I see yeah that make sense, I think that I don't need to put that sleep.
Now I see what's happening on my code with the set -x.

I think in the while true something is missing, because when one...
4,697
Posted By Sui
Ok, I will try ^^ So with you, the process...
Ok, I will try ^^

So with you, the process that got the lock are differents???
4,697
Posted By Sui
yeah, that works!!! At less the functions. ...
yeah, that works!!! At less the functions.

the seq isn't working on my ksh version and I can't installed, but I make this:

i=0
while [[ $i -lt $1 ]]; do
./script.sh $2 &
i=$(($i+1))...
4,697
Posted By Sui
yes I'm using ksh, I think It will be a little...
yes I'm using ksh, I think It will be a little dificult for me cos it's has to work in that old version..... e_e but well I'll don't give up until I tried everything xD

I did that with five... so...
4,697
Posted By Sui
Then my pc hates me XDD, ok no xD But then...
Then my pc hates me XDD, ok no xD

But then if is creating a directory and it is successful the loop will be over and never enter to sleep??? or it is the opposite??

But it's very strange that...
4,697
Posted By Sui
[solved] Concurrency in ksh
Hi, first I have a doubt in order to run a single script several times at same time I used this:

for i in {1..n}; do ./script.sh & doneWhere n is the times will run the program at the same time....
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 09:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy