February 23rd, 2006, 11:16 PM
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.
February 23rd, 2006, 11:48 PM
anyone please give solution.