Article View: news.software.readers
Article #3040Re: Saving articles in background process
From: Adri Verhoef
Date: Mon, 11 Jan 1993 16:04
Date: Mon, 11 Jan 1993 16:04
21 lines
1199 bytes
1199 bytes
In article <C0FJot.II1@rivm.nl> I (a3@rivm.nl (Adri Verhoef)) wrote: >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 >[..] but now [..] 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? Here is the solution (thanks to myself :-) Redirect both stderr and stdin to a (temporary) file.
Technical Details
Message-ID:
<C0p5zq.F0u@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!mcsun!sun4nl!rivm!a3References:
<C0FJot.II1@rivm.nl>Show Full Headers
Complete Article Headers
Message-ID: <C0p5zq.F0u@rivm.nl> Subject: Re: Saving articles in background process Date: Mon, 11 Jan 1993 16:04:37 GMT From: a3@rivm.nl (Adri Verhoef) References: <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!mcsun!sun4nl!rivm!a3 Newsgroups: news.software.readers Sender: news@rivm.nl Organization: Rijksinstituut voor Volksgezondheid en Milieuhygiene,Bilthoven,NL Lines: 21