Share » Forums » Setup & design » what does the...

what does the subtreeexpirycleanup.php file do, anyway?

what does the subtreeexpirycleanup.php file do, anyway?

Wednesday 14 June 2006 9:08:32 am - 2 replies

Modified on Wednesday 14 June 2006 10:12:07 am by Massimiliano Bariola

Author Message

Svitlana Shatokhina

Friday 27 October 2006 7:47:08 am

Hi,

The "runcronjobs.php" script doesn't modify any ".log" files by default (log files are located in the "var/log" directory). If you need this, run the script using both "-d" and "--logfiles" parameters:

php runcronjobs.php -d -s your_siteaccess --logfiles

Best regards,
Sveta

P.S. Sorry, I didn't observe that you already use both parameters..

Svitlana Shatokhina

Wednesday 22 November 2006 2:27:23 am

Hi,

>...what's the subtreeexpirycleanup.php file used for?

If you are using the "cache-block" template function with the "subtree_expiry" parameter to cache the contents of a template block, this cache block will only expire if an object is published below the given subtree (instead of the entire content node tree). The "DelayedCacheBlockCleanup" setting located in the "[TemplateSettings]" section of the "site.ini" configuration file controls whether expired cache blocks with the "subtree_expiry" parameter will be removed immediately or not. If this setting is enabled, the expired cache blocks must be removed manually or using the "subtreeexpirycleanup.php" cron job script.

>Anyone from eZ can help in explaining what the single scripts do and where the cronjob logs are produced?

The cron job scripts will be documented soon.

Best regards,
Sveta

P.S. http://ez.no/doc/ez_publish/technical_manual/3_8/features/cronjobs

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

36 542 Users on board!

Forums menu