Manual:manageJobs.php

From Linux Web Expert

Revision as of 16:56, 9 September 2022 by imported>Shirayuki (Reverted edits by 192.43.223.38 (talk) to last version by Shirayuki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Details

manageJobs.php is a maintenance script to manually either delete jobs from the Job queue or put abandoned jobs back into circulation. Note that, while the script can put abandoned jobs back into circulation, it won't execute them. Use runJobs.php for that.

Options/Arguments

Option/parameter Description Required?
--action
Options
  • delete – to delete the jobs from the job table
  • repush-abandoned – to put abandoned jobs back into circulation
<translate> Required</translate>
--type Must be one of the job types, typically the ones listed when you run showJobs.php --group . <translate> Required</translate>

Usage

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.

See also