🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by paul Fri, 06 Dec 1996 00:00
Setting time for expire to run....
#13056
Author: paul
Date: Fri, 06 Dec 1996 00:00
8 lines
635 bytes
Where is it that you set the time for expire to run at?  I can't recall this.
I want to change it to run a bit earlier in the evening.

TIA,
Paul

Re: Setting time for expire to run....
#13022
Author: Michael Beckmann
Date: Fri, 06 Dec 1996 00:00
27 lines
1262 bytes
paul@cnsnet.com wrote:

> Where is it that you set the time for expire to run at?  I can't recall this.
> I want to change it to run a bit earlier in the evening.


You must change the crontab. Some OS have a crontab in /etc/crontab .
Usually, however, the crontabs are stored in some location like
/var/cron/tabs, and you edit them with

crontab -e

The expire respectively news.daily script should run as user news, so
you'd use

crontab -e -u news

which works only if you are root.

Do a man crontab if you are not sure how the file is formatted.

Cheers,

Michael

Re: Setting time for expire to run....
#13069
Author: paul
Date: Sat, 07 Dec 1996 00:00
35 lines
1397 bytes
>   Michael Beckmann <petzi@nacamar.de> writes:
>  paul@cnsnet.com wrote:
>  
>  > Where is it that you set the time for expire to run at?  I can't recall this.
>  > I want to change it to run a bit earlier in the evening.
>  
>  
>  You must change the crontab. Some OS have a crontab in /etc/crontab .
>  Usually, however, the crontabs are stored in some location like
>  /var/cron/tabs, and you edit them with
>  
>  crontab -e
>  
>  The expire respectively news.daily script should run as user news, so
>  you'd use
>  
>  crontab -e -u news
>  
>  which works only if you are root.
>  
>  Do a man crontab if you are not sure how the file is formatted.
>  
>  Cheers,
>  
>  Michael
>  
>>>>

I found it.  It was the part that starts out 40 03 ...  The 03 needed to be changed.
Nasty head cold kept me from thinking clearly.

Paul

Re: Setting time for expire to run....
#13136
Author: Bob Stoll
Date: Mon, 09 Dec 1996 00:00
8 lines
840 bytes
In article <589aqm$bh9@simba.cnsnet.com>, paul@cnsnet.com wrote:
>Where is it that you set the time for expire to run at?  I can't recall this.
>I want to change it to run a bit earlier in the evening.

Check the crontab file for news.  the scripe is called 'news.daily'.

Re: Setting time for expire to run....
#13234
Author: chiba_sakae
Date: Thu, 12 Dec 1996 00:00
13 lines
759 bytes


paul@cnsnet.com wrote in article <589aqm$bh9@simba.cnsnet.com>...
> Where is it that you set the time for expire to run at?  I can't recall
this.
> I want to change it to run a bit earlier in the evening.
> 
> TIA,
> Paul
> 

Re: Setting time for expire to run....
#13261
Author: Vern Soehner
Date: Fri, 13 Dec 1996 00:00
37 lines
1805 bytes
In article <01bbe7fc$ddb19c00$LocalHost@GH9S-CB>,
   "chiba_sakae" <GH9S-CB@asahi-net.or.jp> wrote:
>
>
>paul@cnsnet.com wrote in article <589aqm$bh9@simba.cnsnet.com>...
>> Where is it that you set the time for expire to run at?  I can't recall
>this.
>> I want to change it to run a bit earlier in the evening.
>> 
>> TIA,
>> Paul
>> 

I am not sure what your're asking, but here is some basic information.
Log into your news id.
Enter=> crontab -l
You should see a display of your cron jobs for the news id.
The expire job should be one of the script names. It will be something 
like....
0 1 * * * /news/bin/news.daily
You can enter=> man crontab
You should see a help page about how to use crontab.

You can edit the '1' which is the hour at which to run...
Here is a summary........
Enter =>  crontab -l > tempfile
This will pipe the current crontab to a file named tempfile.
You can edit tempfile of what to run and when to run it.
You can then update your cron by entering =>  crontab tempfile
This will load the tempfile into cron and replace the current cron settings.
Hope this helps.

"Relax, its only ONES and ZEROS!" anonymous
 

Re: Setting time for expire to run....
#13281
Author: Michael Hucka
Date: Sat, 14 Dec 1996 00:00
17 lines
1280 bytes
>>>>> On 6 Dec 1996, paul@cnsnet.com wrote:

  paul> Where is it that you set the time for expire to run at?  I can't
  paul> recall this.  I want to change it to run a bit earlier in the
  paul> evening.

Expire is usually run from the news.daily script, which in turn is usually
invoked by cron.  Check the crontab for the news account on your system to
see when it all gets invoked.

-- 
Mike Hucka     hucka@umich.edu     <URL: http://ai.eecs.umich.edu/people/hucka>
 Ph.D. candidate, computational models of human visual processing, U-M AI Lab
     UNIX admin & programmer/analyst, EECS Dept., University of Michigan

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