Article View: news.software.nn
Article #5678Re: nnadmin =EYW not working from cron
From: J.C. Webber III
Date: Sun, 10 Apr 1994 17:38
Date: Sun, 10 Apr 1994 17:38
25 lines
1763 bytes
1763 bytes
In article <jonah.764738817@melab>, <jonah@melab.uafsoe.alaska.edu> wrote: >}We've just installed nn on IBM RISC6000. I could expire articles using >} >}nnadmin =EYW >} >}(with root privilege). However, I could not run it from >}cron, with the following entry in /var/spool/cron/crontabs/root >} >}0 3 * * * /usr/local/bin/nnadmin =EYW >} I would recommend that you run these out of news' crontab rather than root's. /var/spool/cron/crontabs/news would be the better choice. However, if you have a older cron system that does not support separate crontabs for different uids then you should change the entry to look like this: 0 3 * * * su news /usr/local/bin/nnadmin -EYW and then you can run it out of /var/spool/cron/crontabs/root file. -- J.C. Webber III jcw@skyking.UUCP (home) Systems Administrator jcw@mti.sgi.com (work) Silicon Graphics, Inc. Tel (415)390-4120 Fax (415)390-6174 "Comparing Dos to UNIX is like comparing a mix-master to a chef's kitchen"
Technical Details
Message-ID:
<1994Apr10.173841.24875@skyking.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!gmd.de!xlink.net!subnet.sub.net!smurf.noris.de!msn!faulrs!fauern!zib-berlin.de!nigel.msen.com!yale.edu!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!gatech!swrinde!sgiblab!skyking!jcwReferences:
<jonah.764738817@melab> <W2CNBWCE@harvey.in-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <1994Apr10.173841.24875@skyking.uucp> Subject: Re: nnadmin =EYW not working from cron Date: Sun, 10 Apr 1994 17:38:41 GMT From: jcw@skyking.uucp (J.C. Webber III) References: <jonah.764738817@melab> <W2CNBWCE@harvey.in-berlin.de> 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!gmd.de!xlink.net!subnet.sub.net!smurf.noris.de!msn!faulrs!fauern!zib-berlin.de!nigel.msen.com!yale.edu!newsserver.jvnc.net!darwin.sura.net!howland.reston.ans.net!gatech!swrinde!sgiblab!skyking!jcw Newsgroups: news.software.nn Organization: Skyking Enterprises Distribution: usa Lines: 20