morsony Posted April 8, 2009 Posted April 8, 2009 Hi I've searched the forum, but without much luck. I wish to have a script, that starts 10 backup processes, and then watches those and as soon as 1 closes a new one is started. I have about 80 processes I wish to schedule using this method. Could this be done? Right now I use ProcessWaitClose, and checks for the last process to close, and the starts 10 new ones. This is just a bit of a waste time and performance wise. Thanks Sebastian
Skruge Posted April 8, 2009 Posted April 8, 2009 Welcome to the forums. There are plenty of ways to accomplish this, especially if you wrote the backup processes. Try counting the backup processes with ProcessList and launch a new one whenever it drops below 10. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now