🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Gerhard Lehmann Wed, 30 Mar 1994 19:43
Re: nnadmin =EYW not working from cron
#5642
Author: Gerhard Lehmann
Date: Wed, 30 Mar 1994 19:43
22 lines
1463 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 
}
Whats with 

	0 3 * * * /usr/local/bin/nnadmin -EYW



Regards			Gerhard
-- 
gln@harvey.in-berlin.de     | Gerhard Lehmann
                            | Reinickendorfer Strasse 45
                            | 13347 Berlin
                            | phone 461 58 60 fax 461 76 70
Re: nnadmin =EYW not working from cron
#5678
Author: J.C. Webber III
Date: Sun, 10 Apr 1994 17:38
25 lines
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"
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