通过Oracle调用shell脚本有几种方法,这里用scheduler进行简单实现,关于scheduler的使用参考Dave的博客:
http://blog.youkuaiyun.com/tianlesoftware/article/details/4715218
首先创建一个shell脚本test1.sh:
#!/bin/bash
touch /export/home/oracle/shell/a.txt
修改权限,添加执行权限
通过Oracle调用shell脚本有几种方法,这里用scheduler进行简单实现,关于scheduler的使用参考Dave的博客:
http://blog.youkuaiyun.com/tianlesoftware/article/details/4715218
首先创建一个shell脚本test1.sh:
#!/bin/bash
touch /export/home/oracle/shell/a.txt
修改权限,添加执行权限