首先建立一个autostart.bat
lsnrctl stop > stop.txt
lsnrctl start > start.txt
这样监听程序就能重新启动,并记录相应的日志
lsnrctl还有很多参数,命令如下
lsnrctl -help
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/631872/viewspace-834220/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/631872/viewspace-834220/