🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.b
Article #6965

Re: Is there a way to control the time when news is unpacked?

#6965
From: Jonathan Bayer
Date: Sat, 17 Feb 1990 12:56
30 lines
1390 bytes
garvey@cmic.UUCP (Joe Garvey) writes:

>I would like to hold all incoming news until late at night (even though
>it may be received at all times during the day), before unpacking it (using
>rnews).

>However, I'm unwilling to just stall the whole uucp system that long. Mail
>that comes in should be immediately unpacked. I'm using a HDB based uucp
>on an HP 9000/370 running HP-UX 6.5.



What you will want to do is the following:

	1.	Rename rnews to be rnews.x

	2.	Replace rnews with a small program that will simply do
		a "mv" to move the news files to a holding directory.  Also,
		it should create a command file which will hold all the
		commands necessary to unpack each file.

	3.	Create a cron entry which will execute the command file
		at the time you want.


JB
-- 
Jonathan Bayer		Intelligent Software Products, Inc.
(201) 245-5922		500 Oakwood Ave.
jbayer@ispi.COM		Roselle Park, NJ   07204    
Technical Details
Message-ID: <1309@ispi.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!rutgers!ispi!jbayer
References: <239@cmic.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!rutgers!ispi!jbayer
From: jbayer@ispi.UUCP (Jonathan Bayer)
Newsgroups: news.software.b
Subject: Re: Is there a way to control the time when news is unpacked?
Keywords: news, rnews, uucp
Message-ID: <1309@ispi.UUCP>
Date: 17 Feb 90 12:56:55 GMT
References: <239@cmic.UUCP>
Organization: Intelligent Software Products, Inc.
Lines: 30