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

[DeleGate-En] Re: re delegate like proxy-ftp with cache
05 Jun 2002 22:04:18 GMT (Yutaka Sato)

On 06/05/02(22:46) you "proxyadmin" <> wrote
in <_A1668@delegate-en.ML_>
 |Thanks for the reponse , but is it possible to clean up with this cron every
 |five minutes ?

Did you try "every minutes" by "*" ?

 |For example  with the following syntax
 |delegate -v -P21 SERVER="ftp://iporiginserver:21" CACHE="do"
 |CRON="0-5-10-15-20-25-30-35-40-45-50-55 * * * * -Fexpire
 |/pathcache -rm -atime -sum"

Could you tell me why you like complex "-Fexpire /pathcache ..."
notation (which must incldue -atime +N) instead of simple "-expire N" ?

 |because when i try this nothing happen ( with one value it works )

It must be like CRON="0,5,10,15, ..." following to the classical
(BSD like) crontab notation.

 |I am honored ( sorry i am french and my english is not fine ) that you
 |responds to me .

I'm a bit sad to see what I wrote in my previous mail seems
to have been ignored.

 |> On 06/05/02(16:02) you "proxyadmin" <> 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:> for a
 |> little more details.

  @ @ Yutaka 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]