February 23rd, 2006, 11:16 PM
Join Date: Feb 2006
Time spent in forums: 15 m 57 sec
Reputation Power: 0
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
#ls -l > list
lspass > pas
#peekauto > schedule \
#num_days = '1' \
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.
thanks in advance.