🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5628

Re: nnadmin =EYW not working from cron

#5628
From: John F. Woods
Date: Sun, 27 Mar 1994 17:56
13 lines
1480 bytes
In <jonah.764738817@melab> jonah@melab.uafsoe.alaska.edu () writes:
>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 

Cron thinks the '=EYW' is a request to set an environment variable.
I've seen a couple of different crons require different fixes for this;
if you can't replace cron (I believe that the latest Vixie cron does not
do this), simply encapsulate the "nnadmin =EYW" command in a shell script.
(Or you can take out the = and put up with news receiving mail from cron
every time nnadmin runs.)
Technical Details
Message-ID: <2n4hc6$3n5@jfwhome.funhouse.com>
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!news.belwue.de!news.uni-ulm.de!zib-berlin.de!umn.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!usc!sdd.hp.com!think.com!spdcc!jfwhome!jfwhome!not-for-mail
References: <jonah.764738817@melab>

Show Full Headers
Complete Article Headers
Message-ID: <2n4hc6$3n5@jfwhome.funhouse.com>
Subject: Re: nnadmin =EYW not working from cron
Date: Sun, 27 Mar 1994 17:56:22 +0000
From: jfw@jfwhome.funhouse.com (John F. Woods)
References: <jonah.764738817@melab>
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!news.belwue.de!news.uni-ulm.de!zib-berlin.de!umn.edu!news-feed-1.peachnet.edu!gatech!howland.reston.ans.net!usc!sdd.hp.com!think.com!spdcc!jfwhome!jfwhome!not-for-mail
Newsgroups: news.software.nn
Organization: Misanthropes-R-Us
Lines: 13
Distribution: usa
NNTP-Posting-Host: jfwnew.funhouse.com