Share » Forums » Developer » Automatic cache deleten / generation ?

Automatic cache deleten / generation ?

Automatic cache deleten / generation ?

Wednesday 13 October 2004 12:50:33 am - 4 replies

Author Message

Paul Forsyth

Wednesday 13 October 2004 1:11:31 am

Use a cronjob and then call the clearcache script followed by the template compiler script, eztc.php.

http://www.ez.no/ez_publish/documentation/development/scripting/supplied_scripts/template_compiler

paul

Norman Leutner

Wednesday 13 October 2004 1:53:44 am

The problem is that there aren`t any php-scripts (or php dir) within the bin directory
in the eZ 3.1 version.
Is it possible to use the php-scripts from another ez-version?
(Webserver is running on Windows)

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Paul Forsyth

Wednesday 13 October 2004 3:31:01 am

I wouldnt recomment it because those scripts use new features.

However, you could delete the contents of var/cache and still use a spider tool like httrack,wget or others to rebuild the cache for you. Use cron to automate this. Im not sure if cron is on windows, doesnt it use the 'at' feature...?

paul

Norman Leutner

Wednesday 13 October 2004 6:05:26 am

Seems like using other scripts won`t work with 3.1.

In gereral under windows you can use at-jobs (scheduled tasks) to run php-scripts via commandline.
(e.g. F:\ezpublish>e:\php\php.exe runcronjobs.php)

I`ll write a batch file to clear the cache and give the wget spider a try.

Thanks

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu