互联网服务Linuxshell

.sh脚本。手工执行可以,但是使用crontab调用就失败?

参与7

1同行回答

telnet4730telnet4730  数据库运维工程师 , 光大证券
需要加db2 的环境变量 # The following three lines have been added by IBM DB2 instance utilities.if [ -f /db2sqllib/db2inst1/sqllib/db2profile ]; then. /db2sqllib/db2inst1/sqllib/db2profilefi显示全部

需要加db2 的环境变量 # The following three lines have been added by IBM DB2 instance utilities.

if [ -f /db2sqllib/db2inst1/sqllib/db2profile ]; then

. /db2sqllib/db2inst1/sqllib/db2profile

fi

收起
证券 · 2019-10-08

提问者

13228078187_
运维恒生

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2019-10-08
  • 关注会员:2 人
  • 问题浏览:3106
  • 最近回答:2019-10-08
  • X社区推广