Article View: news.software.readers
Article #2976Saving articles in background process
From: Adri Verhoef
Date: Wed, 06 Jan 1993 11:24
Date: Wed, 06 Jan 1993 11:24
20 lines
1264 bytes
1264 bytes
I am trying to save articles from within crontab, using: rn -M -q -T $1 <<eof yqq eof (-T allows typeahead, -M is used for saving in mailbox format, and -q is for bypassing the automatic check for new newsgroups.) This used to work for me (on a HP9000/730), but since I moved to Solaris 2.1, I get "Can't open /dev/tty". It seems I need a controlling tty. But I want to do this from crontab. What can I do about it? I don't think "rn </dev/console" (or whatever tty) will help, since a tty can not always be readable by a common user, and I don't want to read news as super user. I have tried "rn ... < /dev/null" but to no avail. (HELP!) Adri
Technical Details
Message-ID:
<C0FJot.II1@rivm.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!rivm!a3Show Full Headers
Complete Article Headers
Message-ID: <C0FJot.II1@rivm.nl> Subject: Saving articles in background process Date: Wed, 06 Jan 1993 11:24:28 +0000 From: a3@rivm.nl (Adri Verhoef) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!rivm!a3 Newsgroups: news.software.readers Sender: news@rivm.nl Organization: Rijksinstituut voor Volksgezondheid en Milieuhygiene,Bilthoven,NL Lines: 20