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 reply to Re: cron vs bash
by Anonymous Monk
in thread cron vs bash (solved)
by dorko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |