Newsgroups: news.software.b
Path: utzoo!utgpu!watserv1!maytag!xenitec!iguana!lsuc!eci386!woods
From: woods@eci386.uucp (Greg A. Woods)
Subject: Re: C-news vs. ISC 2.2 cron
Message-ID: <1990Sep13.143412.20671@eci386.uucp>
Reply-To: woods@eci386.UUCP (Greg A. Woods)
Organization: Elegant Communications Inc.
References: <9298@uhccux.uhcc.Hawaii.Edu> <1990Sep11.214237.19373@zoo.toronto.edu>
Date: Thu, 13 Sep 90 14:34:12 GMT

In article <1990Sep11.214237.19373@zoo.toronto.edu> henry@zoo.toronto.edu (Henry Spencer) writes:
> In article <9298@uhccux.uhcc.Hawaii.Edu> todd@uhccux.uhcc.Hawaii.Edu (Todd Ogasawara) writes:
> >I can't seem to get the C-news newsrun script to run from cron in ISC UNIX
> >2.2. Has anyone else experienced this problem?
> 
> It's not unheard-of to have trouble getting shell scripts to run from cron
> if cron isn't initializing the environment properly.  You might see if you
> can get something trivial like
> 
> 	#! /bin/sh
> 	echo hi there | mail todd
> 
> to work first; that will at least tell you whether it's cron or some
> C-News-specific problem.

After you've tried this, if it still doesn't work, carefully
scrutinize the cron log (/usr/lib/cron/log), and check the system
mailbox of the user running the cron job.  SysV cron records errors in
the log, and mails stderr output to the user.
-- 
						Greg A. Woods

woods@{eci386,gate,robohack,ontmoh,tmsoft}.UUCP
+1-416-443-1734 [h]  +1-416-595-5425 [w]    VE3-TCP	Toronto, Ontario CANADA
