Article View: news.software.readers
Article #3106SUMMARY: Running 'rn' from crontab on SunOS 4.1
From: Adri Verhoef
Date: Fri, 15 Jan 1993 18:56
Date: Fri, 15 Jan 1993 18:56
23 lines
1386 bytes
1386 bytes
A while ago I asked how to run 'rn' from crontab to save articles. I moved from a System V machine to a SunOS 4.1 machine. When I ran 'rn -T -q' (from a script called 'auto-rn') in the background: rn -T -q -M "^$ng$" << eof yqq eof I got: [1] + Stopped (tty output) auto-rn ngname It seemed that 'rn' needs a controlling tty. Which is unavailable from crontab, nor is it in the background. Anyway, thanks to Siebren van der Zee (siebren@xirion.nl), who helped me with this problem, it works now. The solution is to use trace(1) as follows: trace rn -T -q -M "^$ng$" 2>/dev/null << eof yqq eof I know it's not very elegant, but it works. :-)
Technical Details
Message-ID:
<C0wsMB.I1@a312441.uucp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-nlnet.misc.mbox.zip!sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!rivm!a3Show Full Headers
Complete Article Headers
Message-ID: <C0wsMB.I1@a312441.uucp> Subject: SUMMARY: Running 'rn' from crontab on SunOS 4.1 Date: Fri, 15 Jan 1993 18:56:33 GMT 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!mbox2nntp-nlnet.misc.mbox.zip!sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!rivm!a3 Newsgroups: nlnet.misc,news.software.readers Summary: trace rn -T -q 2>/dev/null Sender: news@rivm.nl Organization: Rijksinstituut voor Volksgezondheid en Milieuhygiene,Bilthoven,NL Lines: 23