February 24th, 2006, 12:16 AM
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 24th, 2006, 12:48 AM
anyone please give solution.