on 7/17/02 12:13 PM, [EMAIL PROTECTED] purportedly said:

> If you're having a problem with running your scripts from cron, the answer
> is usually in your PATH environment variable or working directory - cron
> tends to run with different paths, and your script probably can't find
> libraries or other things it needs.

Except that Perl does not rely on PATH and related variables to determine
module or loadable (.so) locations. The cron problem could be permissions or
a CWD problem which would effect finding custom modules, if that is even an
issue, or several other reasons. If there was some information about what is
going wrong, perhaps a more sensible solution could be presented.

> On 7/17/02 12:28 PM, "Keary Suska" <[EMAIL PROTECTED]> wrote:
> 
>> on 7/17/02 6:34 AM, [EMAIL PROTECTED] purportedly said:
>> 
>>> Hi, I have a problem with LWP::UserAgent. As user root I can execute all my
>>> scripts, but if I use an other user or crontab (root) I can't execute them.
>>> My Distri is Trustix secure linux. I don't know where the bug is. My perl
>>> version is 5.0053 and the permissions are for all users the same.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"

Reply via email to