dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Revert r52336 "Merge maintenance-work branch:"
[lhc/web/wiklou.git]
/
maintenance
/
showJobs.php
1
<
?php
2
/**
3
* Based on runJobs.php
4
*
5
* Report number of jobs currently waiting in master database.
6
*
7
* @file
8
* @ingroup Maintenance
9
* @author Tim Starling
10
* @author Ashar Voultoiz
11
*/
12
require_once
(
'commandLine.inc'
);
13
14
$dbw
=
wfGetDB
(
DB_MASTER
);
15
$count
=
$dbw
->
selectField
(
'job'
,
'count(*)'
,
''
,
'runJobs.php'
);
16
print
$count
.
"
\n
"
;
17
18