Manual:runScript.php

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Details

runScript.php file is a convenience maintenance script wrapper, useful for scripts or extensions located outside of standard locations.

Verwendung

To use, give the maintenance script as a relative or full path.

Beispiele

If your pwd is mediawiki base folder:

php maintenance/runScript.php extensions/Wikibase/lib/maintenance/dispatchChanges.php

If your pwd is maintenance folder:

php runScript.php ../extensions/Wikibase/lib/maintenance/dispatchChanges.php

Or use the full path:

php /var/www/mediawiki/maintenance/runScript.php maintenance/runJobs.php