LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Running scripts in parallel (https://www.linuxquestions.org/questions/linux-newbie-8/running-scripts-in-parallel-914327/)

Disha_Pandey 11-18-2011 08:28 PM

Running scripts in parallel
 
I want to run several other shell scripts from this script to run them in parallel (not serially)...save the output of those scripts in different files and they should all show the date (in the saved files, not on screen)..

How can I modify the below script accordingly?

#!/bin/bash
sqlplus -s performance/oracle@WAMS<<eof
set serveroutput on;
SELECT SYSDATE FROM dual;
eof

MS3FGX 11-18-2011 08:59 PM

If I understand you correctly, you should only need to push the individual tasks into the background by appending the "&" symbol to the end of the command.


All times are GMT -5. The time now is 08:51 AM.