Jump to content

Handbuch:ManageJobs.php

From mediawiki.org
This page is a translated version of the page Manual:ManageJobs.php and the translation is 56% complete.

Details

manageJobs.php is a maintenance script to manually either delete jobs from the Jobwarteschlange or put abandoned jobs back into circulation. Note that, while the script can put abandoned jobs back into circulation, it won't execute them. Verwende dafür runJobs.php .

Optionen/Argumente

Option/Parameter Beschreibung Notwendig?
--action
Optionen
  • delete – to delete the jobs from the job table
  • repush-abandoned – to put abandoned jobs back into circulation
Notwendig
--type Must be one of the job types, typically the ones listed when you run showJobs.php --group . Notwendig

Verwendung

php manageJobs.php [ --action | --type ]

Both parameters are mandatory.

First find what job types are abandoned with showJobs.php :

Terminal

Then add abandoned jobs back into circulation with --action repush-abandoned:

Terminal

Then you can run runJobs.php to actually execute them.

Siehe auch