m k 2 Posted February 13, 2017 Posted February 13, 2017 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
A. K. Puvvada Posted July 9, 2019 Posted July 9, 2019 When you mention Work Directory, no need to give ./ or path. Just give RestartScript.sh and it should work.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now