EBS 工具套件中的 SecureCRT 通过Telnet远程登录服务器,执行命令。但有时需要执行多条命令时较为繁琐,如重启oacore需要依次执行以下四条命令:

adapcctl.sh stop           
adoacorectl.sh stop    
adapcctl.sh start
adoacorectl.sh start

     每次执行一条十分繁琐,可以通过配置类似于快捷方式的按钮执行,步骤如下:

1. 双击(或右键 -> configure...) 下图中任何一个灰色的按钮

Telnet 便捷执行脚本

2. Function:Send String , Send String 下的输入框输入要执行的命令, Label 表示按钮名称(随意填写)

Telnet 便捷执行脚本

案例:编译SunScanDemo.jsp页面脚本

其中, \r 表示换行

rm -f /oracle/ebs/appldev/DEV/apps/apps_st/comn/_pages/_SunScanDemo.class \r
cd $FND_TOP/patch/115/bin \r
./ojspCompile.pl --compile --flush -s "SunScanDemo%" \r

 

 

相关文章:

  • 2022-12-23
  • 2021-07-07
  • 2021-10-29
  • 2021-10-21
  • 2021-12-01
  • 2021-08-29
  • 2021-05-30
猜你喜欢
  • 2021-06-05
  • 2022-01-14
  • 2022-02-16
  • 2021-08-24
  • 2021-08-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案