Re: Parallel shell scripts.

2006-11-09 Thread Richard Burakowski
nicky wrote: The whole idea is this. I have to extract two different databases to csv files. One takes about an 1 hour, the other 1.5 hours. The problem is my time window, which is 2 hours. So extracting one after the other is not an option. After both extractions are complete, it should load

Parallel shell scripts.

2006-11-08 Thread nicky
Hello, This might be a bit off topic, but can't find anything really useful when searching the internet. So i hope someone can point me in the right direction I have to start 2 processes in the background (running in parallel), capture their return codes and after all 4 have completed

Re: Parallel shell scripts.

2006-11-08 Thread Andrew Pantyukhin
On 11/8/06, nicky [EMAIL PROTECTED] wrote: I have to start 2 processes in the background (running in parallel), capture their return codes and after all 4 have completed successfully i want to continue with the main script. What do you need their return codes for? If you only want to display

Re: Parallel shell scripts.

2006-11-08 Thread nicky
Andrew Pantyukhin wrote: On 11/8/06, nicky [EMAIL PROTECTED] wrote: I have to start 2 processes in the background (running in parallel), capture their return codes and after all 4 have completed successfully i want to continue with the main script. What do you need their return codes for? If

Re: Parallel shell scripts.

2006-11-08 Thread Norberto Meijome
On Wed, 08 Nov 2006 12:00:34 +0100 nicky [EMAIL PROTECTED] wrote: The whole idea is this. I have to extract two different databases to csv files. One takes about an 1 hour, the other 1.5 hours. The problem is my time window, which is 2 hours. So extracting one after the other is not an

Re: Parallel shell scripts.

2006-11-08 Thread nicky
Creating 'status files' does seem a little easier, more flexable as well. Thanks for the advice, i'll look in to it some more and try to solve it that way. Thanks, Nick Norberto Meijome wrote: On Wed, 08 Nov 2006 12:00:34 +0100 nicky [EMAIL PROTECTED] wrote: The whole idea is this. I