Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: chris5126 ; Forum: Shell Scripting and child forums
Forum: Shell Scripting Oct 29th, 2008
Replies: 10
Views: 2,598
Posted By chris5126
To do it using PID which will just make your life more complicated!!!
In the first script (the important one/the one the others need to wait for) put the following code at the top.
...
Forum: Shell Scripting Oct 29th, 2008
Replies: 10
Views: 2,598
Posted By chris5126
ok a very simple way to do it would be at the start of the important script that the others have to wait for add the following line.

touch /tmp/wait

then at the end of the script do the...
Forum: Shell Scripting Oct 27th, 2008
Replies: 10
Views: 2,598
Posted By chris5126
you could put a flag in a file in /tmp that the script could check for to make sure the last script completed before starting the next one!
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC