/etc/profile is not executed when bash is started non-interactively.
So when cron starts NewsClipper.pl the NEWSCLIPPER environment
variable is not set. Try to set it in your crontab.

bye,
Jan

On Thu, Jul 22, 1999 at 04:25:18PM -0500, Jayme Frye wrote:
>       I've installed the latest rev 1.0102. My problem of NewsClipper.pl not
> finding the system wide config file persists. My installation procedure
> was: I removed all files from the previous rev before installing the new
> version. I su to root, cd to the distribution directory and "ran perl
> Makefile.PL". I selected 2 system wide install and /usr/etc/ for the
> config file location. I then ran make, make install, and make
> NewsClipper_Cleanup. I the edited /etc/profile adding
> NEWSCLIPPER=/usr/etc, made sure it was exported and for good measure
> rebooted. 
>       Again from the command line I can run NewsClipper.pl as any user and it
> works fine. As a cron job it fails with this message:
> 
> Can't locate NewsClipper.cfg in @INC (@INC contains:
> /home/minivend/.NewsClipper /usr/lib/perl5/5.00502/i686-linux
> /usr/lib/perl5/5.00502 /usr/lib/perl5/site_perl/5.005/i686-linux
> /usr/lib/perl5/site_perl/5.005 .) at /usr/bin/NewsClipper.pl line 106.

-- 
Jan Peter Hecking - University of Rostock - Dept. of Computer Science
eMail: [EMAIL PROTECTED]      (icq #14643959)  /\/\ 
public key: http://www.informatik.uni-rostock.de/~jhecking/pgp  \--/ 
fingerprint: 18 91 55 54 62 67 CC 71   05 5F C7 AE E4 F3 B7 D9   \/  

-
If you would like to unsubscribe from this mailing list send an email to 
[EMAIL PROTECTED] with the body "unsubscribe newsclipperlist 
YOUR_EMAIL_ADDRESS" (without the quotes) or use the form provided at 
http://www.NewsClipper.com/TechSup.htm#MailingList.

Reply via email to