Thread: Path problem

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2006
    Posts
    2
    Rep Power
    0

    Unhappy 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.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2006
    Posts
    2
    Rep Power
    0
    anyone please give solution.

IMN logo majestic logo threadwatch logo seochat tools logo