dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b98d765dc63676c7ce12ed440f508b4a2dadcc9f
[lhc/web/wiklou.git]
/
maintenance
/
runJobs.php
1
<
?php
2
3
require_once
(
'commandLine.inc'
);
4
require_once
(
"
$IP
/includes/JobQueue.php"
);
5
6
while
(
false
!= (
$job
=
Job
::
pop
()) ) {
7
wfWaitForSlaves
(
5
);
8
print
$job
->
toString
() .
"
\n
"
;
9
if
( !
$job
->
run
() ) {
10
print
"Error: {
$job
->error}
\n
"
;
11
}
12
}
13