git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
762af15
)
display all retrieved jobs, including the last one
author
Aleš Křenek
<ljocha@ics.muni.cz>
Mon, 19 May 2008 15:41:29 +0000
(15:41 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Mon, 19 May 2008 15:41:29 +0000
(15:41 +0000)
org.glite.lb.client/examples/user-jobs.pl
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/examples/user-jobs.pl
b/org.glite.lb.client/examples/user-jobs.pl
index
2ad5d08
..
658396d
100755
(executable)
--- a/
org.glite.lb.client/examples/user-jobs.pl
+++ b/
org.glite.lb.client/examples/user-jobs.pl
@@
-36,7
+36,7
@@
$body = $resp->body();
# follow the response structure and pick just jobids and states to print
unless ($fault) {
$njobs = $#{$body->{UserJobsResponse}->{jobs}};
- for ($i = 0; $i < $njobs; $i++) {
+ for ($i = 0; $i <
=
$njobs; $i++) {
print "$body->{UserJobsResponse}->{jobs}->[$i]\t",
$body->{UserJobsResponse}->{states} ? $body->{UserJobsResponse}->{states}->[$i]->{state} : '',
"\n";