
February 23rd, 2006, 11:16 PM
|
|
Registered User
|
|
Join Date: Feb 2006
Posts: 2
Time spent in forums: 15 m 57 sec
Reputation Power: 0
|
|
Path problem
Dear friends,
I am writing unix sh script my script is like this.
#! /bin/sh -f
#PATH=/opt/terascan/bin; export PATH
PATH=/opt/terascan/bin:/opt/terascan/pass/satel:$PATH; export PATH
#SATDATA=/opt/terascan/pass/satel
#export ZAF_PATH
#ls -l > list
lspass > pas
#peekauto > schedule \
#num_days = '1' \
exit 0
i have put this in crontab
if i run crontab the error is coming like this
lspass command not found.
this lspass command resides in /opt/terascan/bin dir.
i have defined the PATH variable above but the error is coming like that.
please help
thanks in advance.
|