Posted on 2007-01-30 11:03:21-08 by grinder in response to 1762
Re: Problem downloading files

Crypt-SSLeay uses a number of environment variables to control its behaviour. Could it be that when run from the shell, the appropriate environment variables are set, but not when run from cron?

At the beginning of your program, add the following snippet to dump the environment table:

print "$_: $ENV{$_}\n" for sort keys %ENV;

and compare the results when run from the command line and when run from cron.

Regards,
the current maintainer of Crypt-SSLeay

Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.