🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6974

Re: cron and nn

#6974
From: Gerald Oskoboiny
Date: Sat, 07 Jan 1995 11:10
14 lines
1479 bytes
change@rahul.net writes:

>Does anyone know how to run nn from a cron job so its output is 
>sent to a file? I'd like to (find all postings which contain a given
>word in the author subject and) copy them to a file daily in a cron job.

You're probably looking for the nnbatch(1) program. I use nnbatch and
cron to save an entire newsgroup for me daily, using a specialized init
file. This is the only way I could figure out to make nn run without
having someone typing at it; once I found nnbatch the rest was easy.

Gerald
-- 
http://ugweb.cs.ualberta.ca/~gerald/
Technical Details
Message-ID: <3elsqq$gis@scapa.cs.ualberta.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.intercon.com!panix!news.mathworks.com!news.kei.com!hookup!news.mcgill.ca!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!quartz.ucs.ualberta.ca!alberta!falun.cs.ualberta.ca!gerald
References: <3el8t4$amd@hustle.rahul.net>

Show Full Headers
Complete Article Headers
Message-ID: <3elsqq$gis@scapa.cs.ualberta.ca>
Subject: Re: cron and nn
Date: Sat, 07 Jan 1995 11:10:18 +0000
From: gerald@amisk.cs.ualberta.ca (Gerald Oskoboiny)
References: <3el8t4$amd@hustle.rahul.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.intercon.com!panix!news.mathworks.com!news.kei.com!hookup!news.mcgill.ca!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!quartz.ucs.ualberta.ca!alberta!falun.cs.ualberta.ca!gerald
Newsgroups: news.software.nn
Organization: University of Alberta
Lines: 14
Reply-To: gerald@amisk.cs.ualberta.ca
NNTP-Posting-Host: falun.cs.ualberta.ca
Originator: gerald@falun.cs.ualberta.ca