Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Try to set a oracle cron job on AIX 5.2
Hi,
I am trying to set up a cron job to backup my database daily, the
following is my shell script, but it
seems it would not run from the cron, but the manual run is fine, I
don't know what is missing from my environment:
export ORACLE_SID=MYPRD export ORACLE_HOME=/home/app/oracle/product/9.2.0 export ORAENV_ASK=NO;
WORK_IDEN=/san01/pmmprd/alcprd/exp/exp_myprd_full
exp system/manager file=$WORK_IDEN.dmp log=$WORK_IDEN.log full=y
direct=y
exp system/manager parfile=$WORK_IDEN.par
~
Any suggestion is appreciated.
Philip Received on Mon Mar 19 2007 - 15:33:20 CDT
![]() |
![]() |