csh environment with cron
Posted on 1998-08-18
I have a perl script that runs fine when I am logged in as the user that will run the script. When I try to envoke it in that users cron, I have problems because apparently the startup files aren't getting initiated in order for the environment to be set. The script runs some Oracle commands and therefore require several variables to be set. I want to keep the script as generic as possible so that I can port it to different machines without having hardcoded variables. I am running AIX 4.2.1 on an RS6000.