- 论坛徽章:
- 0
|
脚本app.sh内容
#!/bin/ksh
ORACLE_HOME=/ora/app/oracle/product/9.2
ORACLE_BASE=/ora/app/oracle
ORACLE_SID=ora
NLS_LANG=AMERICAN_AMERICA.US7ASCII
$ORACLE_HOME/bin/exp wz/wz file=/home/oracle/backup/123.dmp
用crontab定时执行此脚本出错,下面系统发的mail信息
Invalid format of Export utility name
Verify that ORACLE_HOME is properly set
Export terminated unsuccessfully
EXP-00000: Message 0 not found; No message file for product=RDBMS, facility=EXP
*****************************************************************
cron: The previous message is the standard output
and standard error of one of the cron commands.
我实在找不出哪里错误 ,请懂得帮忙看看 |
|