编辑个脚本 xxx.sh #!/bin/sh rq=`date +%Y%m%d` filename="test$rq" expdp system/*** directory=expdump dumpfile=$filename.dmp logfile=$filename.log schemas=test content=data_only 手工可以执行OK,满以为都OK 结果放进了CRONTAB里 第二天却没有执行,被叼毛叼了几句! 原因可能有: 1 环境问题 最好来个 source ~/.bash_profile...