We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to Pass Arguments to SSH Script file in the Patterns?

RK25
Tera Guru

I am attempting to execute a SSH script file but getting an error. The command works from the probe. Appreciate any insight.

Full command: "sh apache_custom.sh -/opt/apps/asa/webBinaries/ihs/ihs9/bin/httpd -/opt/apps/asa/webInstances/ihs/app3789/conf/httpd.conf"

Breakdown:

File location-->apache_custom.sh

Arg 1-->-/opt/apps/asa/webBinaries/ihs/ihs9/bin/httpd

Arg 2-->-/opt/apps/asa/webInstances/ihs/app3789/conf/httpd.conf

 

RK25_0-1720725503229.png

 

0 REPLIES 0