On 06/05/02(22:46) you "proxyadmin" <email@example.com> wrote
|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" <firstname.lastname@example.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.
@ @ Yutaka Sato <email@example.com> http://www.delegate.org/y.sato/
( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan