Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
./cancel-orders.sh \
--url=http://joc-2-0-primary:7446 \
--user=root \
--password=root \
--controller-id=controller \
--date-to="$(date +'%Y-%m-%d')T00:00:00"
# cancels orders scheduled for a date before begin of the current day
# limits cancellation to orders in the SCHEDULED state (default)
# implies that the system time zone is used (default) |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./cancel-orders.sh \
--url=https://joc-2-0-primary:7443 \
--cacert=/home/sos/jstest/certs/root-ca.pem \
--user=root \
-p \
--controller-id=controller \
--date-to="$(TZ=Europe/London date --date="1 day ago" +'%Y-%m-%d')T00:00:00" \
--time-zone=Europe/London \
--states=FAILED,SUSPENDED
# cancels orders scheduled for a date before yesterday
# establishes the connection to JOC Cockpit by HTTPS and the Root CA Certificate is specified from the path to a .pem file
# asks the user for interactive keyboard input of the password used for the account specified
# specifies the date from an individual time zone
# limits cancellation to orders in the FAILED and SUSPENDED state |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./cancel-orders.sh \
--url=http://joc-2-0-primary:7446 \
--user=root \
--password=root \
--controller-id=controller \
--date-to="$(date +'%Y-%m-%d')T00:00:00" \
--folders=/ProductDemo/CyclicExecution,/ProductDemo/ScheduledExecution \
--recursive
# cancels late orders scheduled for yesterday's Daily Plan date
# limits cancellation to orders in the SCHEDULED state (default) for workflows from the given folders
# looks up sub-folders recursively |
...
Overview
Content Tools