Forums / Developer / Clearcache shell script problem

Clearcache shell script problem

Author Message

Paul Forsyth

Tuesday 04 November 2003 1:10:48 am

I've just submitted this bug about the clearcache shell script and the fact it can't handle the new package structure for cache.

http://ez.no/developer/ez_publish_3/bug_reports/clearcachesh_shell_script_doesnt_clear_cache_from_packaged_sites

Is this just a bug or should we not use this file anymore and soley use the clearcache function from the admin?

paul

Ole Morten Halvorsen

Tuesday 04 November 2003 1:15:42 am

Paul,

Have you tried using the --var-subdir option?

Example:
bin/shell/clearcache.sh --clear-all --var-subdir=intranet

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Paul Forsyth

Tuesday 04 November 2003 1:31:24 am

I did see that option (but havent used it) but shouldnt the script be able to determine which site designs are being used?

I guess the script should perhaps use the code within kernel/setup/cache.php to keep it and the admin in sync. If development efforts improve the admin code then maybe the shell script should be depracted or point to this code in some way?

paul