🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #205

nnadmin from cron

#205
From: Richard C. Dempsey
Date: Mon, 19 Mar 1990 18:40
28 lines
1786 bytes
I am having trouble invoking nnadmin from cron to do the nightly espire on the
database.  Every morning, I see in my mailbox a letter from root with the output
from the cron job.  Unfortunately, nnadmin is supposed to run quietly!

I have the following line in root's crontab:

20 2 * * * su - news /usr/local/bin/nnadmin EW

which is supposed to run nnadmin every night at 0220.  The mail from root tells
me that I am getting the following output:

/usr/local/bin/nnadmin: (M-^A)^C^A^K^B(M-@)(M-^@)^S@#(M-D): not found
/usr/local/bin/nnadmin: ^W(M-9)(M-T)( ... other gibberish ... )K(M-^R)^P: not found
(three more such lines...)

It looks like su is trying to execute a binary as a shell script.  Issuing the
su command manually works fine; at least there's no output!

I am running nn 6.3.10 on a Sun 4/260 under SunOS 4.0.3.  I am using mini-inews
from nntp 1.5.7 to talk to a Sun server that runs nntp 1.5.0.  I don't know what
version or kind (B or C) news software he is running (I don't think it matters
for this problem).

Thanks for your help,
Rich Dempsey				dempsey@Kodak.COM
Eastman Kodak Company			716-477-3457
Rochester, NY 14650-2205
USA
Technical Details
Message-ID: <1123@eastman.UUCP>
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!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!kodak!eastman!dixel!lrul00

Show Full Headers
Complete Article Headers
Message-ID: <1123@eastman.UUCP>
Subject: nnadmin from cron
Date: Mon, 19 Mar 1990 18:40:26 +0000
From: lrul00@dixel.Kodak.COM (Richard C. Dempsey)
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!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!kodak!eastman!dixel!lrul00
Newsgroups: news.software.nn
Sender: news@eastman
Lines: 28
Posted: Mon Mar 19 19:40:26 1990