Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
# common options for connection to JS7 REST API
request_options=(--url=http://localhost:4446 --user=root --password=root --controller-id=controller)
# cancel orders by state
./manage-workflow.sh cancel-order ${request_options[@]} \
--workflow=ap3jobs --date-to=-2h --state=SCHEDULED,PROMPTING,SUSPENDED,INPROGRESS,RUNNING
# cancel orders by state, yesterday's start date, folder recursively
./manage-workflow.sh cancel-order ${request_options[@]} \
--folder=/ap --recursive --date-to="$(TZ=Europe/London date + '%Y-%m-%d')" --state=SCHEDULED,PROMPTING,SUSPENDED,INPROGRESS,RUNNING |
...
Overview
Content Tools