Article View: news.software.nn
Article #211Re: nnadmin from cron
From: Richard C. Dempsey
Date: Thu, 22 Mar 1990 16:12
Date: Thu, 22 Mar 1990 16:12
32 lines
1767 bytes
1767 bytes
I wrote: >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 steve@gapos.bt.co.uk (Steve A Rooke) writes: >Have you tried: >20 2 * * * su news -c "/usr/local/bin/nnadmin EW" No, I hadn't. I tried it last night, and it works. I still get mail from daemon though. Now it tells me that 'Your "cron" job produced the following output:' sent signal 14 to master Which is much improved from the previous situation. I don't understand why the small change to the cron line works; I may ask comp.unix.wizards someday. BTW, nnadmin was compiled on a Sun-4 for a Sun-4 (of a Sun-4? Naah, we'll leave Lincoln out of this). There was (and still is) no Sun-3 binary in sight. My thanks to all who replied. Rich Dempsey dempsey@Kodak.COM
Technical Details
Message-ID:
<1127@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!fauern!sun1.ruf.uni-freiburg.de!ira.uka.de!sol.ctr.columbia.edu!cica!iuvax!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!kodak!eastman!dixel!lrul00References:
<1123@eastman.UUCP> <1454@gapprd.gapos.bt.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <1127@eastman.UUCP> Subject: Re: nnadmin from cron Date: Thu, 22 Mar 1990 16:12:40 +0000 From: lrul00@dixel.Kodak.COM (Richard C. Dempsey) References: <1123@eastman.UUCP> <1454@gapprd.gapos.bt.co.uk> 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!fauern!sun1.ruf.uni-freiburg.de!ira.uka.de!sol.ctr.columbia.edu!cica!iuvax!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!kodak!eastman!dixel!lrul00 Newsgroups: news.software.nn Sender: news@eastman Lines: 32 Posted: Thu Mar 22 17:12:40 1990