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 all orders scheduled for a date before begin of the current day
# implies that the system time zone is used |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./cancel-orders.sh \ --url=https://joc-2-0-primary:7446 \ --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 all 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 or 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 scheduled for workflows from the given folders # looks up sub-folders recursively |
...
Overview
Content Tools