Last change
on this file since 753 was
348,
checked in by neteler, 13 years ago
|
set correctly svn propset
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:mime-type set to
text/x-sh
|
File size:
613 bytes
|
Rev | Line | |
---|
[255] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | rm -f log log1 |
---|
| 4 | |
---|
| 5 | ./zoo_loader.cgi "request=Execute&service=WPS&version=1.0.0&Identifier=longProcess&DataInputs=&storeExecuteResponse=true&status=true" > log |
---|
| 6 | |
---|
| 7 | if [ -z "$(grep "ows:ExceptionReport" log)" ]; then |
---|
| 8 | while [ -z "$(grep "wps:ProcessSucceeded" log1)" ]; |
---|
| 9 | do |
---|
| 10 | ./zoo_loader.cgi $(grep statusLocation= ./log | cut -d'?' -f2 | cut -d'"' -f1 | sed "s:amp;::g") > log1 ; |
---|
| 11 | cat log1 ; |
---|
| 12 | done |
---|
| 13 | cat log1 |
---|
| 14 | else |
---|
| 15 | echo "Service failed, please make sure that your main.cfg file contains" |
---|
| 16 | echo "in the [main] section valid values for both tmpPath and dataPath." |
---|
| 17 | echo |
---|
| 18 | cat log |
---|
| 19 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.