|
eZ Publish
[4.2]
|
Go to the source code of this file.
Variables | |
| $cli = eZCLI::instance() | |
| Cluster files purge script. | |
| $options | |
| if(!eZScriptClusterPurge::isRequired()) | $purgeHandler = new eZScriptClusterPurge() |
| $script | |
| $sys = eZSys::instance() | |
| $cli = eZCLI::instance() |
Cluster files purge script.
Definition at line 11 of file bin/php/clusterpurge.php.
| $options |
$script->getOptions( "[dry-run][iteration-sleep:][iteration-limit:][memory-monitoring][scopes:][expiry:]", "", array( 'dry-run' => 'Test mode, output the list of affected files without removing them', 'iteration-sleep' => 'Amount of seconds to sleep between each iteration when performing a purge operation, can be a float. Default is one second.', 'iteration-limit' => 'Amount of items to remove in each iteration when performing a purge operation. Default is 100.', 'memory-monitoring' => 'If set, memory usage will be logged in var/log/clusterpurge.log.', 'scopes' => 'Comma separated list of file types to purge. Possible values are: classattridentifiers, classidentifiers, content, expirycache, statelimitations, template-block, user-info-cache, viewcache, wildcard-cache-index, image, binaryfile', 'expiry' => 'Number of days since the file was expired. Only files older than this will be purged. Default is 30, minimum is 1.' ) )
Definition at line 22 of file bin/php/clusterpurge.php.
| if (!eZScriptClusterPurge::isRequired()) $purgeHandler = new eZScriptClusterPurge() |
Definition at line 40 of file bin/php/clusterpurge.php.
eZScript::instance( array( 'description' => ( "eZ Publish cluster files purge\n" . "Physically purges files\n" . "\n" . "./bin/php/clusterpurge.php --scopes=scope1,scope2" ), 'use-session' => false, 'use-modules' => false, 'use-extensions' => true ) )
Definition at line 12 of file bin/php/clusterpurge.php.
| $sys = eZSys::instance() |
Definition at line 30 of file bin/php/clusterpurge.php.
Referenced by eZCharTransform\cachedTransformationPath(), eZMediaType\deleteStoredObjectAttribute(), eZBinaryFileType\deleteStoredObjectAttribute(), eZURLOperator\eZDesign(), eZURLOperator\eZImage(), eZPDFExport\filepath(), eZUser\getCacheDir(), eZMail\lineSeparator(), eZPDFExport\remove(), eZSysInfo\scan(), eZSendmailTransport\sendMail(), eZHTTPFile\storageDir(), eZURI\transformURI(), eZMediaType\trashStoredObjectAttribute(), and eZBinaryFileType\trashStoredObjectAttribute().