Hi,
I've a Perl script that has to be run thru a Crontab (Sun solaris) entry.There are 2 problems I'm facing when run from cron:
1. The script is not picking up $ENV{VAR} value properly. I've to hard code the values for that , which is not what I want.
2. After harcoding the $ENV values the script runs to the point just before a call to DBI->connect , just on that statement it stops and does nothing , no error nothing .I'm at a loss to figure out the problem.
When I'm running the same script from another Unix box, the 2nd problem is not there . I have a feeling it has something to do with the cron setup or cron env variables on this m/c.
The script runs happily from command line.
Any suggestions would be helpful.
Thanx in advance.