Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
xml:jobdownload [07.01.2015 ] dstore |
xml:jobdownload [15.04.2015 ] (aktuell) dstore [Pollen in Intervallen] |
||
---|---|---|---|
Zeile 86: | Zeile 86: | ||
local USERNAME=$3 | local USERNAME=$3 | ||
local PASSWORD=$4 | local PASSWORD=$4 | ||
- | JOBS_IN_QUEUE=$(curl 'https://'${HOSTNAME}'/xml/jobqueue?Interfacename='${INTERFACE} --user ${USERNAME}:${PASSWORD} --silent --fail --show-error ) | + | JOBS_IN_QUEUE=$(curl 'https://'${HOSTNAME}'/xml/jobqueue' --data-urlencode "Interfacename=${INTERFACE}" --user ${USERNAME}:${PASSWORD} --silent --fail --show-error ) |
RETVAL=$? | RETVAL=$? | ||
if [ $RETVAL -ne 0 ]; then | if [ $RETVAL -ne 0 ]; then | ||
Zeile 108: | Zeile 108: | ||
local PASSWORD=$5 | local PASSWORD=$5 | ||
- | HTTP_STATUS=$(curl --output ${JOBNAME} --write-out "%{http_code}" 'https://'${HOSTNAME}'/xml/job?Interfacename='${INTERFACE}'&Jobname='${JOBNAME} --user ${USERNAME}:${PASSWORD} --silent --fail --show-error) | + | HTTP_STATUS=$(curl --output ${JOBNAME} --write-out "%{http_code}" --data-urlencode "Interfacename=${INTERFACE}" --data-urlencode "Jobname=${JOBNAME}" 'https://'${HOSTNAME}'/xml/job' --user ${USERNAME}:${PASSWORD} --silent --fail --show-error) |
RETVAL=$? | RETVAL=$? | ||
if [ $RETVAL -ne 0 -o $HTTP_STATUS -ne 200 ]; then | if [ $RETVAL -ne 0 -o $HTTP_STATUS -ne 200 ]; then |