Re: cron problem

"Young, Darren" <[email protected]>
Newsgroups gmane.org.user-groups.luni.tech
Message-ID <4BD3751450A4DC43B6C2B43DD2BEF2E1203A50@bushexmb01.gsb.uchicago.edu>
> > Carl,
> >
> > That was a very helpful idea. There is a message in my email that
> shows the error:
> >
> > Can't locate Companies2.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
> /usr/local/lib/site_perl .) at -e line 1.
> > BEGIN failed--compilation aborted at /usr/local/src/ldisplay.pl line
> 15.
> > Compilation failed in require at /usr/local/src/upcoming.pl line 71.
> >
> > If I cut and paste the exact command from crontab -l and execute the
> prgram manually from the console I don't get this error.  I don't
> understand why cron has this problem?

Perhaps add a "use lib /path/to/Companies2/directory;" 
-- 
Linux Users Of Northern Illinois (Chicago) - Technical Discussion 
http://luni.org/mailman/listinfo/luni
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.