Hi,
I am encountering a problem where I have built a shell script on one system (SYSTEM A)which executes a series of programs on that system and mails the results of those program back to me. If I execute the shell on SYSTEM A everything works just fine. However I am trying to make this an automated process so that I can execute the shell from SYSTEM B (both systems are AIX UNIX). I have put the line :
rsh SYSTEMA myshellscript
in my .profile on SYSTEM B.
Unfortunately the script doesn't work when executed in this fashion. It can't find any of the files for execution that it was able to find when I rsh'd to SYSTEM A and ran the script manually.
Any ideas or sources I should look at to resolve this? Thanks, Leigh
I am encountering a problem where I have built a shell script on one system (SYSTEM A)which executes a series of programs on that system and mails the results of those program back to me. If I execute the shell on SYSTEM A everything works just fine. However I am trying to make this an automated process so that I can execute the shell from SYSTEM B (both systems are AIX UNIX). I have put the line :
rsh SYSTEMA myshellscript
in my .profile on SYSTEM B.
Unfortunately the script doesn't work when executed in this fashion. It can't find any of the files for execution that it was able to find when I rsh'd to SYSTEM A and ran the script manually.
Any ideas or sources I should look at to resolve this? Thanks, Leigh