[DeleGate-En] Re: delegate like proxy-ftp with cache
On 06/05/02(16:02) you "proxyadmin" <firstname.lastname@example.org> wrote
|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