The Below script I am using for export in scheduler. But it is failing.
When I run the same in the morning it works.
What might be te problem. I have given below the script
# Mxxx Database .....
net use X: /delete
net use X: \\xxxxxxxx\expbackup
sleep 60
net stop OracleServiceMxxx
sleep 300
net start OracleServiceMxxx
sleep 300
echo Start Time : %time% %date% > X:\dump\MFCUAT.LOG
set oracle_sid=Mxxx
set nls_lang=AMERICAN_AMERICA.UTF8
e:\oracle\9.2\bin\exp file='X:\Mxxx.dmp' log='X:\Mxxx.log' full=y
statistics=none userid=system/xxxx
echo End Time : %time% %date% >> X:\dump\MFCUAT.LOG
type X:\Mxxx.log >> X:\dump\Mxxx.LOG
net use X: /delete
Regards
Vijayakumar K
"Vijayakumar K - Technical Engineer - SIS" <vijayakumar.[Email address protected]
___________________________________________________________________________
Visit us at www.sundaraminfotech.in
___________________________________________________________________________
This E-mail may contain privileged information and is intended solely for the addressee, and any disclosure of this information is strictly prohibited, and may be unlawful. If you have received this mail by mistake, please inform us immediately and delete this mail. Any information expressed in this mail does not necessarily reflect the views of SUNDARAM INFOTECH SOLUTIONS. As per SUNDARAM INFOTECH SOLUTIONS's policy, unencrypted mail via Internet is not considered secure.
___________________________________________________________________________
Oracle LazyDBA home page