Thread View: news.software.readers
2 messages
2 total messages
Started by Adri Verhoef
Wed, 06 Jan 1993 11:24
Saving articles in background process
Author: 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
Re: Saving articles in background process
Author: 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads