The script /usr/oracle/backup.ksh should have all environment variables such as ORACLE_HOME, ORACLE_SID, PATH etc defined at the beginning before you start actual export. To debug the actual cause put logging in the script log date and time at the start of the script to a file and use log for export also. Check whether oracle user has permission to schedule cron jobs.
Thanks & regards, DESHMUKH SAMBHAJI S "Optimism is believing that obstacles are opportunities !" ASHRAF SALAYMEH <ashraf_salaymeh To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> @yahoo.com> cc: Sent by: Subject: Schedule Backup in UNIX [EMAIL PROTECTED] 11/12/2002 12:33 PM Please respond to ORACLE-L Dear List, We are working with Oracle 8i Database under UnixWare Plateform. My question is How to do Schedule Backup? I tried to do Schedule backup but it does not work. I'll show u the steps that I did... 1) I wrote my batch. 2) cd /var/spool/cron/crontabs 3) crontab -e oracle it will open a text file. ----------------Oracle------------------------- # 5 14 * * * /usr/oracle/backup.ksh 2>&1 1>/dev/null # ----------------------------------------------- 4) cd /usr/oracle 5) I did write backup.ksh like this: ----------------backup.ksh----------------- # # This Procedure for ORACLE export # exp payroll/pay file=/usr/oracle/pay111102.dmp # exit ------------------------------------------- Any clues why this is not working ... regards, Ashraf __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: ASHRAF SALAYMEH INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). ********************************DISCLAIMER*********************************** Information contained and transmitted by this e-mail is confidential and proprietary to Tata Steel Ltd. and is intended for use only by the addressee. If you are not the intended recipient , you are notified that any dissemination or copying of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator. Tata Steel does not enter into any binding agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of Tata Steel. Tata Steel is not responsible for the consequences of any actions taken on the basis of information provided. While this e-mail has been checked for all known viruses the addressee should also scan for viruses. To know more about Tata Steel please visit www.tatasteel.com ******************************************************************************** -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: SAMBHAJI S DESHMUKH INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).