Oops..you are running from the script, i thought you were doing directly from crontab. Add these lines  export NAS_DB=/nasexport PATH=$PATH:/nas/bin
I've got this setup in a shell script, that on it's own works just fine.  #!/bin/bash    I add it to crontab and it generates this error. NAS_DB environment not defined   What do I need to do to get this working?
Help with a cron job to export usermapper data