🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by John F. Woods Sun, 27 Mar 1994 17:56
Re: nnadmin =EYW not working from cron
#5628
Author: 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.)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads