Hi All,
Have a script called FTPIN-xx.sh.
It does stuff and when all is done, it is to execute another.
However, I'd like to have it execute the second script in the background or in a fashion that would allow my script to complete without having to wait.
I'm robbing the command from how I set items in crontab just to maintain some consistancy, but anyways ...
I thought I might be able to do the following:
nice ksh -c "${MD_BATCH}/The2ndScript.sh ${UID} ${PWD} &" >> ${MD_BATCHLOG}/The2ndScript.log 2>&1
-- OR --
nice ksh -c "${MD_BATCH}/The2ndScript.sh ${UID} ${PWD}" >> ${MD_BATCHLOG}/The2ndScript.log 2>&1 &
But am not too sure what happens to STDOUT for The2ndScript when FTPIN-xx.sh completes.
Any suggestions/thoughts ??
Thanks in advance.
Cheers,
Cameron