Manual:cleanupUploadStash.php
MediaWiki バージョン: | ≧ 1.18 |
MediaWiki ファイル: cleanupUploadStash.php | |
---|---|
場所: | maintenance/ |
ソース コード: | master • 1.39.1 • 1.38.5 • 1.35.9 |
クラス: | CleanupUploadStash |
詳細
The cleanupUploadStash.php script removes old or broken uploads from the temporary file storage and cleans up associated database records from the table uploadstash . This script can be used to clean up abandoned files in the temporary file stash.
All files created less than the last n seconds ago as defined by $wgUploadStashMaxAge
will stay; older files will be deleted.
オプション/引数
This script does not take any options or arguments other than standard command-line options .
使用法
php maintenance/cleanupUploadStash.php
Terminal
$ php maintenance/cleanupUploadStash.php Getting list of files to clean up... No stashed files to cleanup according to the DB. Deleting old thumbnails... 3 done Deleting orphaned temp files... 7 done