profiling
[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