Jump to content

External Command


m k 2

Recommended Posts

Hello, question regarding "External Command" Palette

I have a shell script which i like to execute on daily basis at certain time. This shell script, stop and start a BW process. Shell script is located under /home/tibco/RestartScript.sh. I run the RestartScript.sh script from command line (Linux server) and it works find. Now i like to use that script in BW process

below is the BW process. I deployed this process using TIBCO administrator on Linux server.

its throwing this error. does anyone know the cause I have tried different combination in "command" and got the same error

combination 1 : ./RestartScript.sh

=========================

Error: Error executing external command ./RestartScript.sh: java.io.IOException: Cannot run program "./RestartScript.sh" (in directory "/home/tibco"): error=2, No such file or directory.BW-CMD-100001

combination 2 : /home/tibco/RestartScript.sh

=========================

Error: Error executing external command /home/tibco/RestartScript.sh: java.io.IOException: Cannot run program "/home/tibco/RestartScript.sh" (in directory "/home/tibco"): error=2, No such file or directory.BW-CMD-100001

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...