Tweak to r47279 -- include final newline to keep the terminal clean :)
[mediawiki.git] / maintenance / showJobs.php
blob6e38c854c319e1a14fd102a97076d4f8b459de58
1 <?php
2 /**
3 * Based on runJobs.php
5 * Report number of jobs currently waiting in master database.
7 * @file
8 * @ingroup Maintenance
9 * @author Tim Starling
10 * @author Ashar Voultoiz
12 require_once( 'commandLine.inc' );
14 $dbw = wfGetDB( DB_MASTER );
15 $count = $dbw->selectField( 'job', 'count(*)', '', 'runJobs.php' );
16 print $count."\n";