Article delegate-en/3016 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A3015@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: news proxy expire - how ?
10 Jul 2005 10:24:08 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


On 07/10/05(18:57) you "damir" <damir@wisp-hr..> wrote
in <_A3015@delegate-en.ML_>
 |For now Im install with this parameters and I will see for few days will be
 |delegate delete files:
 |dg.exe -P128 SERVER=nntp EXPIRE=30d CRON="0 * * * * -expire expire 0 -mtime
 |+30" MOUNT="= nntp://biggulp.readfreenews.net/" CACHE=do

No, it must be "-expire 0", not "-expire expire 0".
The 0 for "-atime +0" is just for ignoring -atime judgment because
"-atime +0" is true always.
You can do it from CRON without "-atime" and more straightforwardly like

  CRON="0 * * * * -Fexpire /path/of/cache -rm -mtime +30 -sum"

Or you can invoke it manually as

  delegated -Fexpire /path/of/cache -rm -mtime +30 -sum"

See <URL:http://www.delegate.org/delegate/Manual.htm#CRON>
> -expire N -- execute expiration for $CACHEDIR by "-atime +Nd"
...
>CRON="0 3 * * * -expire 3"  (this is equivalent to followings)<BR>
>CRON="0 3 * * * -Fexpire /path/of/cache -rm -atime +3 -sum"<BR>
>CRON="0 3 * * * /path/of/delegated -Fexpire /path/of/cache -rm -atime +3 -sum"<BR>

Cheers,
Yutaka
--
  D G   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( - )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V