on 06-30-2015 3:47 PM
Hi,
I have created a shell script in BODS job server and I am using BODS 4.2 version.
Now I am trying to call the shell script using BODS exec function.
Can anyone help me about this.
my unix shell script name is - delete_markup.sh
Server Path where I have written the shell script - /usr/BODS/script
Thanks & regards,
Kaushik Chakraborti.
If your script is not expecting any input parameters then you have used below syntax to call this shell script.....
exec('/usr/BODS/script/delete_markup.sh',0);
if you need to pass one parameter($1) then use below syntax
exec('/usr/BODS/script/delete_markup.sh','[$1]',0);
Hope this helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vamshi,
I have included one of my Shell script in a Job .
The script created a dummy file after checking all my conditions successful if the conditions fails it will not create a file.
I need to go to the next step in my job based on the dummy file availability. If dummy file is not there the job need to exit reporting it is missing.
How can I achieve this?
User | Count |
---|---|
77 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.