🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by David Graves Mon, 22 Dec 1997 00:00
expire.ctl times -- Appears expire time of "1" = 24hrs + 1 day
#24535
Author: David Graves
Date: Mon, 22 Dec 1997 00:00
31 lines
1298 bytes
Ok -- Gots a questions re the expire.ctl times.

This morning, December 22, 10:30 am, I ran expire.

The relevant expire record was this:

alt.bizzygroup:A:1:1:1

When I check on alt.bizzygroup, after expire runs, I see the first file
times as:

December 20 10:30 am.

This implies that expire doesn't start counting the day until 24 hours
have already gone by, as if this first 24 hours is the 0th day.

I want articles in this newgroup to be no older than 24 hours old.
Would an expire record of  :

alt.bizzygroup:A:0:0:0 achieve this?

Suppose I wanted only 12 hours before expiration?

Thanks in advance
dave




Re: expire.ctl times -- Appears expire time of "1" = 24hrs + 1 day
#24536
Author: Chris Adams
Date: Mon, 22 Dec 1997 00:00
36 lines
1833 bytes
According to David Graves  <news@graves.com>:
>Ok -- Gots a questions re the expire.ctl times.
>
>This morning, December 22, 10:30 am, I ran expire.
>
>The relevant expire record was this:
>
>alt.bizzygroup:A:1:1:1
>
>When I check on alt.bizzygroup, after expire runs, I see the first file
>times as:
>
>December 20 10:30 am.

One thing to check is the date you actually received the article.  Check
the entry in the history file.  For example, for your article:

32:news:~$ grephistory -l '349EA50E.F44361A2@graves.com'
<349EA50E.F44361A2@graves.com>  882812775~-~882812174	news.software.nntp/40194

882812775 = Mon Dec 22 11:46:15 1997 (localtime - CST)
882812174 = Mon Dec 22 11:36:14 1997 (localtime - CST)

The first time entry is when the article arrived, the second (a dash
above) is the time of an Expires: header if the article has that, and
the third is the Date: field from the article.  By default, expire uses
the time the article arrived at your server in deciding when to expire a
message.  You can use the -p option to tell expire to use the posting
date instead.
-- 
Chris Adams - cadams@ro.com
System Administrator - Renaissance Internet Services
I don't speak for anybody but myself - that's enough trouble.

Re: expire.ctl times -- Appears expire time of "1" = 24hrs + 1 day
#24552
Author: Jeremy
Date: Mon, 22 Dec 1997 00:00
42 lines
2136 bytes
David Graves  <news@graves.com> wrote:

> alt.bizzygroup:A:1:1:1
> 
> When I check on alt.bizzygroup, after expire runs, I see the first file
> times as:
> 
> December 20 10:30 am.
> 
> This implies that expire doesn't start counting the day until 24 hours
> have already gone by, as if this first 24 hours is the 0th day.

Giving a group a 1-day expire is saying, "When expire runs, it should
go in and remove anything older than 1 day."  So, it will leave alone
anything less than 24 hours old.  Thus, for the next day, new articles
will be added, and just before your next expire runs, you will have
articles up to 48 hours old.

> I want articles in this newgroup to be no older than 24 hours old.
> Would an expire record of  :
> 
> alt.bizzygroup:A:0:0:0 achieve this?

Yes, that will get rid of everything, so you will end up never keeping
anything over 24 hours old.  Right after expiration, you'll have nothing,
except the articles that arrived after expire but before unlinking.

> Suppose I wanted only 12 hours before expiration?

You can set the expire time to 0.5 and run expire twice a day; this
will, using the logic above, result in having articles up to 24
hours old, but removing the last 12 hours each time you expire.
If you want never to have anything older than 12 hours, use 0 day
expire and run twice a day.

-- 
Jeremy  |  jeremy@exit109.com
"If it's not real, WHY DOES IT TAKE UP DISK SPACE?" --bev.
                                   net.subculture.usenet

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