projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
eeaa68b
)
re-run watcher if there are more running jobs
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 22 Dec 2016 21:49:11 +0000
(22:49 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 22 Dec 2016 21:49:11 +0000
(22:49 +0100)
gnt-running.sh
patch
|
blob
|
history
diff --git
a/gnt-running.sh
b/gnt-running.sh
index
2d70ccf
..
f65b3d9
100755
(executable)
--- a/
gnt-running.sh
+++ b/
gnt-running.sh
@@
-1,2
+1,4
@@
#!/bin/sh -xe
-gnt-job list --no-headers --running | awk '{ print $1 }' | xargs gnt-job watch
+while true ; do
+gnt-job list --no-headers --running | tee /dev/stderr | awk '{ print $1 }' | xargs gnt-job watch
+done