加入环境变量文件
eg.
. /home/oracle/.profile
注意.后面有个空格;
mb646da62f0d7e4 ©著作权
加入环境变量文件
eg.
. /home/oracle/.profile
注意.后面有个空格;
最近在做ETL任务调度时,使用系统自带的任务调度crontab 发现手动运行脚本可以执行完成,但是自动定时就不能实现,检查shell脚本也没有错误。奇怪哪里导致的问题呢? 后来在网上查询和不断测试,得知和系统的环境变量有关系的。发现脚本中需要添加必要的环境变量才可以使脚本自动执行。&nbs
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M