Index: branches/wmf/1.17wmf1/maintenance/jobs-loop.sh |
— | — | @@ -18,7 +18,8 @@ |
19 | 19 | db=`php -n nextJobDB.php --type="$type"` |
20 | 20 | if [ -n "$db" ]; then |
21 | 21 | echo "$db $type" |
22 | | - nice -n 20 php runJobs.php --wiki="$db" --procs=4 --type="$type" |
| 22 | + nice -n 20 php runJobs.php --wiki="$db" --procs=4 --type="$type" & |
| 23 | + wait |
23 | 24 | moreprio=y |
24 | 25 | fi |
25 | 26 | done |
— | — | @@ -33,7 +34,8 @@ |
34 | 35 | sleep 5 |
35 | 36 | else |
36 | 37 | echo "$db" |
37 | | - nice -n 20 php runJobs.php --wiki="$db" --procs=4 |
| 38 | + nice -n 20 php runJobs.php --wiki="$db" --procs=4 & |
| 39 | + wait |
38 | 40 | fi |
39 | 41 | done |
40 | 42 | |