allow-root-user
colors
debug
dry-run
expiry
help
iteration-limit
iteration-sleep
logfiles
memory-monitoring
no-colors
no-logfiles
quiet
scopes
siteaccess
verbose
Allows your root user to run the clusterpurge.php script. The usage of this parameter is only recommended for advanced users. With great power comes great responsibility.
Use ANSI colors when generating debug output (default).
Output debug information. The following options can be used to control what the debug output should include: "all" (everything), "accumulator" (accumulators), "include" (included files), "timing" (timing points), "error" (errors), "warning" (warnings), "notice" (notices).
Test mode, output the list of affected files without removing them.
Number of days since the file was expired. Only files older than this will be purged. Default is 30, minimum is 1.
Output information about the script and supported parameters.
Amount of items to remove in each iteration when performing a purge operation. Default is 100.
Amount of seconds to sleep between each iteration when performing a purge operation, can be a float. Default is one second.
Generate log files. This parameter must be used together with the debug parameter ("-d" or "--debug"). The log files (for example "warning.log") will be stored in the "var/log" directory of the eZ Publish installation.
Generates memory monitoring output. If set, memory usage will be logged in var/log/clusterpurge.log.
Do not use ANSI colors when generating debug output.
Do not generate log files (default).
Run the script in "quiet" mode. No output will be generated.
Comma separated list of file types to purge. Possible values are: classattridentifiers, classidentifiers, content, expirycache, statelimitations, user-info-cache, viewcache, wildcard-cache-index, image, binaryfile, media.
The siteaccess to run the script for. If omitted, the default siteaccess will be used.
Output verbose / additional information.
Physically purges files.
php bin/php/clusterpurge.php [OPTION]
Example 1
php bin/php/clusterpurge.php
Example 2
php bin/php/clusterpurge.php --scopes=user-info-cache,viewcache --expiry=20
Example 3
php bin/php/clusterpurge.php --scopes=user-info-cache,viewcache, --expiry=30 --memory-monitoring
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.