gaeta@pacs.picker.com (jay gaeta) (03/17/91)
I would like to provide a newsfeed to a sister site. Unfortunately my system really slows down (probably disk I/O) while unbatching and uncompressing the news I receive. I can imagine what the additional burden of providing a feed would do to my system... The sister site would receive an exact copy of the feed I receive. I have set up Bnews to "SPOOLNEWS", and would like to (if possible) send the batched files before they are unbatched. Is this a feasible idea? I would set up a shell script (to be run by cron) that does something like the following: #-------------------------------------------------------- #!/bin/sh # SITENAME will be passed as an argument SITENAME="$1" cd /usr/spool/news/.rnews BATCHLIST="`echo *`" for i in $BATCHLIST do ln $i /usr/spool/news/$SITENAME/$i done sendbatch $SITENAME for i in $BATCHLIST do inews -p $i done #-------------------------------------------------------- I imagine that someone more experienced than me, has come up with a better scheme. Would someone like to suggest/provide alternatives? Jay Gaeta (216)-473-2441 Picker International, Inc. 595 Miner Rd, Highland Heights, OH 44143 (UUCP: ...!uunet!picker!gaeta) (Internet: gaeta@picker.com)