Thread View: news.software.nntp
2 messages
2 total messages
Started by Mike Pelletier
Thu, 02 May 1996 00:00
Problem with microsoft.* syncgroup script
Author: Mike Pelletier
Date: Thu, 02 May 1996 00:00
Date: Thu, 02 May 1996 00:00
10 lines
788 bytes
788 bytes
Everyone to whom I've sent this script: Please add a "\n" to the end of the "nntpget" command if you haven't already. We've got our first test of this script in the three newly created microsoft.* groups. -Mike Pelletier.
Re: Problem with microsoft.* batch-rpost script
Author: Mike Pelletier
Date: Thu, 02 May 1996 00:00
Date: Thu, 02 May 1996 00:00
29 lines
1560 bytes
1560 bytes
Found another little glitch...
The batch-rpost script will overwrite an existing msnews.microsoft.com.nntp
file if posting failed on the previous run and another article has been
posted. Make it look like the following:
------------
do if [ "$file" = "" -o ! -s "$file" ] # Nothing to do
then continue
fi
if [ "${file%.nntp}" = "$file" ]
then if [ -f "$file.nntp" ]
then mv $file.nntp $file.nntp.temp
fi
mv $file ${file}.nntp
/usr/sbin/ctlinnd flush $file > /dev/null 2>&1
cat $file.nntp.temp >> $file.nntp
rm $file.nntp.temp
fi
------------
Instead of moving the new batch directly into *.nntp, it'll check
for an existing *.nntp, move it out of the way, then move the new
batch, flush, then add the old batch to the end of the new batch.
-Mike Pelletier.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads