W|tee|F? DataPump doesn't work with Unix tee function?
Date: Thu, 2 Jul 2009 08:01:53 -0500
I am trying to mechanize a datapump process and send an email if it fails. Problem is that
expdp username/incrediblysecretpassword parfile=x.par|tee -a somefile
does not, in fact, tee -a anything! I can do
expdp username/incrediblysecretpassword parfile=x.par >somefile 2>somefile
but that disables output to the screen, which the user running the job certainly wouldn't like. So... three questions...
- How do you get output onto the screen and into a file without using tee?
- How in the world did Oracle manage to disable tee in the first place?
- Why would they want to?
Other than that, best wishes to all my good friends for a lovely holiday and/or quiet list day!
Bambi.Received on Thu Jul 02 2009 - 08:01:53 CDT