1

Korn shell. wait command and crontab

view story
linux-howto

http://www.unix.com – I have the following ksh script: sqlplus usr1/pw1@DB1 @$DIR/a.sql $1 & sqlplus usr2/pw2@DB2 @$DIR/b.sql $1 & wait echo "Done!" Where $DIR is a variable with the absolute path where a.sql and b.sql are. For some time, I've been running this script daily and it works fine. The intentions is that both SQL*Plus sessions go to the background and execute in parallel, and when they finish I can continue with the following steps of the application. Since it's not a test version anymore, I scheduled it on the crontab to execute daily. The problem I have now is that it w (HowTos)