I am trying to lessen the time it takes to export a database. In doing so, I am breaking the export down into 10 exports that export different tables. I want to create a script that executes each export and then puts it in the background.
I have succeeded in this much. My two issues with the script are as follows:
Since each export is in the background, how can I get the log file for each export emailed to users after the export is finished?
Also, when all background processes are finished my script just sits there like it is waiting on something. I have to press enter to get back to a prompt. I want the session to stay in the script until all exports are complete and then exit the script. That will also help in determining when all exports in the script are finished. How can I do this?
Thank you for your help.
Tammy
I have succeeded in this much. My two issues with the script are as follows:
Since each export is in the background, how can I get the log file for each export emailed to users after the export is finished?
Also, when all background processes are finished my script just sits there like it is waiting on something. I have to press enter to get back to a prompt. I want the session to stay in the script until all exports are complete and then exit the script. That will also help in determining when all exports in the script are finished. How can I do this?
Thank you for your help.
Tammy