Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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 Xref: lsuc news.admin:50 news.software.b:79 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