Manual:NextJobDB.php

nextJobDB.php is a MediaWiki maintenance script that picks a database that has pending jobs.