Path: 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 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