Article delegate-en/1666 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:<_A1665@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: delegate like proxy-ftp with cache
05 Jun 2002 08:44:19 GMT feedback@delegate.org (Yutaka Sato)


On 06/05/02(16:02) you "proxyadmin" <pqedabdyi-t6uzp57pjg3r.ml@ml.delegate.org> wrote
in <_A1665@delegate-en.ML_>
 |I want to use delegate like a proxy ftp so i do the following command
 |delegate -v -P21 SERVER="ftp://iporiginserver:21" CACHE="do"
 |EXPIRE="120secs" CRON="0 * * * * -Fexpire /pathcache -rm -atime -sum"
 |My purpose with this command is to have a ftp server cache with an
 |expiration value  of the cache at 120secs , my CRON command is not good .
 |If you can correct this syntax or give me any clue for this

I'm not sure what is the problem with the configuration.  If the
problem is that the cached data is not removed after 120 seconds,
it should be like this:

  CRON="* * * * * -expire 120s"

The left most "*" means doing "-expire 120s" every minutes.  
"-expire 120s" is similar to "-Fexpire CACHEDIR -rm -atime +120s -sum"
See <URL:http://www.delegate.org/delegate/Manual.htm#CRON> for a
little more details.

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

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