in reply to Perl/UNIX permissions/env
cron does not load your ~/.profile and the rest of your environment, so neither $ENV{ORACLE_HOME} nor the path are set up "properly". I usually write a small shell wrapper around my scripts that loads the environment by sourcing ~/.profile and whatever other configuration scripts there are to be loaded.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl/UNIX permissions/env
by thor (Priest) on Jun 09, 2004 at 11:56 UTC | |
|
Re^2: Perl/UNIX permissions/env
by nimdokk (Vicar) on Jun 09, 2004 at 17:38 UTC |