Manual:CleanupUploadStash.php

This page is a translated version of the page Manual:CleanupUploadStash.php and the translation is 33% complete.
Versão do MediaWiki:
1.18

Detalhes

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.

Options/Arguments

This script does not take any options or arguments other than standard command-line options .

Uso

php maintenance/run.php cleanupUploadStash
Terminal
No MediaWiki versão 1.39.12 e anteriores, você deve invocar os scripts de manutenção usando php maintenance/scriptName.php em vez de php maintenance/run.php scriptName.

See also