posted 17 years ago
You might find it easiest to setup your pathing and current directory as the first commands in your script. For example, add the following to the script..
cd /home/wasadmin/jar
# Change current working directory to where the files are stored. While setting the PATH environment variable should cover this, if you reference any local files within subsequent scripts this adds some safety.
PATH=$PATH:/home/wasadmin/jar
# Setup the PATH to include the working directory. In this way, the line beginning with 'a.ct' should pick up the appropriate file.
As you can run the a.ct properly when running this logged in directly, it's not a case of permissions.