source:
trunk/zoo-project/zoo-services/utils/status/test.sh
Last change on this file was 348, checked in by neteler, 13 years ago | |
---|---|
|
|
File size: 613 bytes |
Line | |
---|---|
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.