Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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