Path: utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: news.software.b Subject: Re: C-news vs. ISC 2.2 cron Keywords: cnews newsrun does not work with cron? Message-ID: <1990Sep11.000407.8857@virtech.uucp> Date: 11 Sep 90 00:04:07 GMT References: <9298@uhccux.uhcc.Hawaii.Edu> Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Organization: Virtual Technologies Inc., Sterling VA Lines: 27 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? What is hapening? just saying you are having problems doesn't give us much wor work on. You might also want to specify what version (and patchlevel) of cnews you are running. I have cnews running without any problems under 2.2 (I upgraded from 2.0.2 and made no changes to the code since then. >'newsrun' works fine if I fire it either when logged in as news or when I >manually fire it using 'su -c' as root. We run it twice an hour from new's crontab without any problems with the following cron line: 0,30 * * * * /usr/lib/newsbin/input/newsrun If it's not running from cron, but is runs ok from a normal user I would bet that it is an environment problem (probably ulimit). -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc., uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170