Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExample for Cancelling Orders
linenumberstrue
./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
titleExample for Cancelling Orders
linenumberstrue
./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

...