in reply to use lib 'foo/bar' in cron-called script...

Are you sure it is there? Are you sure the UID under which the cron job runs can read the file? What error are you getting? What happens if you make a simple perl program that opens the .pm file and reads its content and you run that from cron?

Abigail

  • Comment on Re: use lib 'foo/bar' in cron-called script...

Replies are listed 'Best First'.
Re: Re: use lib 'foo/bar' in cron-called script...
by stajich (Chaplain) on Jun 06, 2002 at 16:51 UTC
    And make sure that every dir in the path is a+x or g+x if you are sharing a group with the UID of the cron job.