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