I have created a Linux script (.sh) which will look for a particular file, e.g. ready.txt, and if the file is present on the Linux Server (BO) machine, my script will rename it to done.txt. It is a basic Linux script which will just do the renaming. Now, when I execute this script on my Linux machine, it is doing exactly what I described above.
To create a program object based on this shell script, I did following steps;
1. Copy the Linux code and pasted in notepad on my PC, e.g. renTask.sh
2. Open CMC from my windows machine and open window of new objects.
3. Located (Browsed) “renTask.sh” file saved on my PC.
4. Selected Executable (binary, batch, shell script) option and submitted.
When I execute the above Program Object, the status says “Success” but the file on my Linux machine, ready.txt, is not renamed.
By the way, the only reason I copied my .sh code to notepad is because I am not allowed to browse / connect to Linux folder where the shell scripts are saved via my PC.
Could someone please guide me what I am missing here?
My environment:
BO servers: Linux
PC: Windows XP
Thank you in advance Gurus.
To create a program object based on this shell script, I did following steps;
1. Copy the Linux code and pasted in notepad on my PC, e.g. renTask.sh
2. Open CMC from my windows machine and open window of new objects.
3. Located (Browsed) “renTask.sh” file saved on my PC.
4. Selected Executable (binary, batch, shell script) option and submitted.
When I execute the above Program Object, the status says “Success” but the file on my Linux machine, ready.txt, is not renamed.
By the way, the only reason I copied my .sh code to notepad is because I am not allowed to browse / connect to Linux folder where the shell scripts are saved via my PC.
Could someone please guide me what I am missing here?
My environment:
BO servers: Linux
PC: Windows XP
Thank you in advance Gurus.