Your environment in your cron job is not the same as it is in your shell session. You need to set the Oracle-specific environment variables in your cron job as well. A common way is to use a wrapper shell script that also loads your .profile before launching Perl:
#!/usr/bin/ksh . ~/.profile exec /opt/perl/bin/perl -w /home/vaish/bin/myscript.pl ...
In reply to Re: Install_driver(Oracle) failed: Can't load ? Please help
by Corion
in thread Install_driver(Oracle) failed: Can't load ? Please help
by Vaish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |