Article View: news.admin
Article #4036Re: cunbatch and news version 2.11
From: dave
Date: Tue, 09 Dec 1986 18:42
Date: Tue, 09 Dec 1986 18:42
24 lines
1472 bytes
1472 bytes
In article <2760@fritz.UUCP> bytebug@fritz.UUCP (Roger L. Long) writes:
>Also, in terms of configuration, I have seperate lines in my crontab
>file for "sendbatch -c" and "sendbatch -c -o" and would like to move
>the systems all onto one line eventually.
I call "/usr/lib/news/newsbatches" from crontab, so that
crontab needn't be changed when details of our feeds change.
Here's the newsbatches file. utmanitou is running 2.11, so
doesn't need -o, and utzoo is a 16-bit machine which can only
accept 12-bit compression.
# newsbatches - call sendbatch on each site in turn
for site in utzoo mnetor sickkids radha utmanitou
do
case $site in utzoo) flags="-b12 -o" ;;
utmanitou) flags=" " ;;
*) flags=-o ;;
esac
/usr/lib/news/sendbatch -c $flags $site
done
David Sherman
--
{ ihnp4!utzoo seismo!mnetor utai hcr decvax!utcsri } !lsuc!dave
Technical Details
Message-ID:
<1436@lsuc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!lsuc!daveReferences:
<241@oliveb.UUCP> <2760@fritz.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!lsuc!dave From: dave@lsuc.UUCP Newsgroups: news.admin,news.software.b Subject: Re: cunbatch and news version 2.11 Message-ID: <1436@lsuc.UUCP> Date: Tue, 9-Dec-86 13:42:13 EST Article-I.D.: lsuc.1436 Posted: Tue Dec 9 13:42:13 1986 Date-Received: Tue, 9-Dec-86 17:43:34 EST References: <241@oliveb.UUCP> <2760@fritz.UUCP> Reply-To: dave@lsuc.UUCP (David Sherman) Organization: Law Society of Upper Canada, Toronto Lines: 24 Keywords: cunbatch rnews 2.11 Summary: "newsbatches" script to invoke sendbatch