Hi there...
I currently have a perl script. I was wondering whether it was possible for me to include into the script the environment variables in my unix .profile file into the Perl script. The reason for this is, i need the cron job to run the script automatically every day. But when the cron runs it, it will spill out error messages that are because of different path settings and environment settings. So what i need is a way such that when the cron runs the script, it will also run it using my logins .profile or environment settings.
Can anybody help me here? Quite urgent..
TIA
JD
I currently have a perl script. I was wondering whether it was possible for me to include into the script the environment variables in my unix .profile file into the Perl script. The reason for this is, i need the cron job to run the script automatically every day. But when the cron runs it, it will spill out error messages that are because of different path settings and environment settings. So what i need is a way such that when the cron runs the script, it will also run it using my logins .profile or environment settings.
Can anybody help me here? Quite urgent..
TIA
JD