i have a perl script that connects to an oracle database and therefor i have modified my .profile file in my home directory (i have added some oracle specific environment variables).
my problem is that the perl script needs to be run using 'cron'. since 'cron' uses only a limited environment i get errors that my perl script cannot connect to the oracle database. is there anyone who knows how you can have a perl script execute the .profile file?
thanks in advance!
arjan huijzer
p.s. i have tried to create the variables in %ENV in a BEGIN block, but somehow this doesn't solve the problem.
In reply to running .profile by mouse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |