Article View: news.software.nntp
Article #61558Re: Fetching news to INN using newsx
From: fd
Date: Tue, 22 Oct 2002 10:47
Date: Tue, 22 Oct 2002 10:47
31 lines
2250 bytes
2250 bytes
I know it is better to do it in in two seperate sripts, but I need to run newx BEFORE rnews. If I put it into seperate scripts it is possible the two scripts runs together or in a wrong order. "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:ap39ok$kq4$2@puck.litech.org... > In article <8cbe3813.0210220151.2d36011b@posting.google.com>, > JohnCD <wenoi6@hotmail.com> wrote: > > > >#!/bin/sh > >/sbin/chkconfig innd || exit 0 > >su - news -c > >"unset LANG; unset LC_COLLATE; newsx news.xs4all.nl --verbose >>/tmp/bjorn" > >"unset LANG; unset LC_COLLATE; /usr/bin/rnews -U" > > If you run the above script (not out of cron), does it work? > > I don't know what wordwrapping was introduced, but I think you'd > be much better off putting the newsx/rnews commands in a separate > script (say, cron.daily.news) and having cron just run that > script with `su - news -c cron.daily.news` (or you could just use > the news user's crontab, since your system probably does support > per-user crontabs). > >
Technical Details
Message-ID:
<ap3ahd$lov$1@localhost.localdomain>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.wirehub.nl!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!not-for-mailReferences:
<8cbe3813.0210210215.5d4c7d13@posting.google.com> <ap15cd$7n0$3@puck.litech.org> <ap1eos$c1p$1@orion.bofh.hanau.net> <8cbe3813.0210220151.2d36011b@posting.google.com> <ap39ok$kq4$2@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <ap3ahd$lov$1@localhost.localdomain> Subject: Re: Fetching news to INN using newsx Date: Tue, 22 Oct 2002 12:47:38 +0200 From: "fd" <bjorn.braker@edcubed.com> References: <8cbe3813.0210210215.5d4c7d13@posting.google.com> <ap15cd$7n0$3@puck.litech.org> <ap1eos$c1p$1@orion.bofh.hanau.net> <8cbe3813.0210220151.2d36011b@posting.google.com> <ap39ok$kq4$2@puck.litech.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.wirehub.nl!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!not-for-mail Newsgroups: news.software.nntp Organization: EDCubed Lines: 30 NNTP-Posting-Host: edcubed.xs4all.nl X-Trace: news1.xs4all.nl 1035283866 29053 194.109.232.54 (22 Oct 2002 10:51:06 GMT) X-Complaints-To: abuse@xs4all.nl NNTP-Posting-Date: 22 Oct 2002 10:51:06 GMT X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000