There's more than one way to do things | |
PerlMonks |
Re: cron vs bashby Anonymous Monk |
on Jun 04, 2010 at 14:39 UTC ( [id://843137]=note: print w/replies, xml ) | Need Help?? |
added code in a begin block to change the $ENV variable. PATH and LD_LIBRARY_PATH are important, but LD_LIBRARY_PATH needs to be set before perl starts, so if you set LD_LIBRARY_PATH in your program, you have to restart your program (exec) programatically setting the LD_LIBRARY_PATH, DBI, DBD::Oracle and LD_LIBRARY_PATH, Re^5: replicating the command 'unset LIBPATH' in perl These are just workarounds, the real fix is with cron admin config
In Section
Seekers of Perl Wisdom
|
|