cronjob.ini [CronjobPart-cache_cleanup]
The block [CronjobPart-cache_cleanup] of settings/cronjob.ini, with 1 setting(s).
Removes view cache and cache-block files that have expired or grown old;
without it they stay on disk until the same key is generated again. Runs for
the var directory of the given siteaccess, so once per VarDir:
php runcronjobs.php -s <siteaccess> cache_cleanup
Never edit settings/cronjob.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/cronjob.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/cronjob.ini.append.phpfor one siteaccess,extension/<extension>/settings/cronjob.ini.append.phpin an extension (read when the extension is active).
Scripts
The role-aware HTTP cache (settings/httpcache.ini); does nothing while it is off.
The result files of the SQL query cache (settings/querycache.ini Storage=file,
or auto without APCu); does nothing while there are none.
Default: a list of 3: cachecleanup.php, httpcache_cleanup.php, querycache_cleanup.php.
# settings/override/cronjob.ini.append.php
[CronjobPart-cache_cleanup]
# an empty "Scripts[]" first replaces the shipped list; without it the items are added
Scripts[]
Scripts[]=cachecleanup.php
Scripts[]=httpcache_cleanup.php
Scripts[]=querycache_cleanup.php
*/ ?>Related
Generated by ./console exp:help:examples from settings/cronjob.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.