Справочник:PurgeChangedFiles.php

From mediawiki.org
This page is a translated version of the page Manual:PurgeChangedFiles.php and the translation is 67% complete.
Outdated translations are marked like this.
Версия MediaWiki:
1.22

подробности

Файл purgeChangedFiles.php -- это сценарий обслуживания сканирующий журнал удалений и окончательно удаляющий файлы, превышающие срок хранения. This script processes 100 items in a batch.

Options/Arguments

Option Description Required?
--starttime Starting timestamp Обязательно
--endtime Ending timestamp Обязательно
--type Comma-separated list of types of changes to send purges for (created,deleted,modified,all) По желанию
--htcp-dest HTCP announcement destination (IP:port) По желанию
--dry-run Do not send purge requests По желанию
--sleep-per-batch Milliseconds to sleep between batches По желанию
--verbose Show more output По желанию

Usage

php maintenance/purgeChangedFiles.php --starttime dt1 --endtime dt2 [ --type| --htcp-dest| --dry-run| --sleep-per-batch| --verbose ]

Dry run to check purging

Terminal

Purging

Terminal

See also