Thread View: news.software.nn
2 messages
2 total messages
Started by Will Estes
Mon, 30 Mar 1992 04:19
Sample Cron Entries For CNews, NNTP, And NN
Author: Will Estes
Date: Mon, 30 Mar 1992 04:19
Date: Mon, 30 Mar 1992 04:19
18 lines
1229 bytes
1229 bytes
I'm curious what entries others put in their cron tables for CNews, NNTP, and NN (discounting differences due to things like the number of sites you feed, of course). Mine looks something like this: 30 * 1-31 * 0-6 /usr/lib/newsbin/nntpsend netcomsv.netcom.com 15 * 1-31 * 0-6 /usr/lib/newsbin/input/newsrun 59 0 1-31 * 0-6 /usr/lib/newsbin/expire/myexpire 10 8 1-31 * 0-6 /usr/lib/newsbin/maint/newsdaily 00 5,13,21 1-31 * 0-6 /usr/lib/newsbin/maint/newswatch 00 23 1-31 * 0-6 /usr/local/lib/nn/back_act 2 6,12,18 1-31 * 0-6 /usr/local/lib/nn/nnspew (Note: myexpire does a doexpire and nnadmin =EYW) Thanks, Will Estes Internet: westes@netcom.com
Re: Sample Cron Entries For CNews, NNTP, And NN
Author: J.P.M. van der Jagt
Date: Mon, 30 Mar 1992 15:28
Date: Mon, 30 Mar 1992 15:28
69 lines
3658 bytes
3658 bytes
westes@netcom.com (Will Estes) writes: >I'm curious what entries others put in their cron tables for CNews, >NNTP, and NN (discounting differences due to things like the number of >sites you feed, of course). Mine looks something like this: [his jobs deleted] On the nntp-client (running nn64pl16+menu_patch+add_sig and rn.pl54): ===================================================================== # Maintain the nn-logfile once a month 05 13 1 * * /usr/local/lib/nn/nn_monthly # Expire the nn-database and update nngrab-database once a day 2 6 * * * /usr/local/lib/nn/nn_dayly # Build an up to date default .newsrc for new users 10 7 * * 1,2,3,4,5 /usr/local/etc/create.newsrc # Don't run diskwarn in the weekends nn_monthly is: #!/bin/sh # @(#) nn_monthly, by J.P.M. van der Jagt /usr/local/bin/nnadmin L@ >> /usr/local/lib/nn/cronlog 2>&1 nn_dayly is: #!/bin/sh # @(#) nn_dayly, by J.P.M. van der Jagt /bin/date >> /usr/local/lib/nn/cronlog 2>&1 /usr/local/bin/nnadmin EYW >> /usr/local/lib/nn/cronlog 2>&1 /usr/local/lib/nn/nnspew >> /usr/local/lib/nn/cronlog 2>&1 create.newsrc is: #!/bin/sh # @(#) create.newsrc By J.P.M. van der Jagt # executed by cron to create a fresh .newsrc for new users TMP=/usr/adm/newuser.def/newsrc NEWSRC=/usr/adm/newuser.def/.newsrc /usr/local/lib/rn/getactive $TMP /bin/rm -f $NEWSRC echo "general: 0" > $NEWSRC echo "news.announce.newusers: 0" >> $NEWSRC /bin/egrep -v "general|news.announce.newusers" $TMP |sed 's/ .*$/! 0/'>>$NEWSRC /bin/rm -f $TMP On the nntp-server (running Cnews_24-Mar-91 and nntp.1.5.11): ============================================================= 15 * 1-31 * 0-6 /usr/lib/news/newsbin/input/newsrun #30 8 1-31 * 1-5 /usr/lib/news/newsbin/input/newsrunning off #00 17 1-31 * 1-5 /usr/lib/news/newsbin/input/newsrunning on 45 * 1-31 * 0-6 /usr/lib/news/nntp/sendnntp #40 * 1-31 * 0-6 /usr/lib/news/newsbin/batch/sendbatches 59 3 1-31 * 0-6 /usr/lib/news/newsbin/expire/doexpire 10 8 1-31 * 0-6 /usr/lib/news/newsbin/maint/newsdaily 00 5,13,21 1-31 * 0-6 /usr/lib/news/newsbin/maint/newswatch 40 6 1-31 * 0-6 /usr/lib/news/statistics "#" are not active, of course. sendnntp is a script that makes sure a batchfile is quiet and then executes a nntpxmit. statistics is a script that does some dayly and weekly statistics. If you're interested, I can post/mail. If I did something stupid I'd like to know :-) >Thanks, >Will Estes Internet: westes@netcom.com Your welcome. Regards, John-Paul. -- [] J.P.M. van der Jagt [] Systems manager [] Delft University of Technology [] [] Email: jeanpaul@duteca.et.tudelft.nl [] Phone: 31-15-781366 [] unix unix [] [] - He sells C-shells by the seashore - Lauren Bacall - Key Largo - 1948 - []
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