From e5e2dd9dbb940cd86a95a4b0e7eefae39bd95867 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Tue, 22 Sep 2020 17:08:10 +1000 Subject: [PATCH] Update readme --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ac45f21..4798247 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,17 @@ ## How to run ``` -export CADENCE_URL= -export CADENCE_DOMAIN= +export CADENCE_URL= +export CADENCE_DOMAIN= # run the application ./gradlew run -``` \ No newline at end of file +# Schedule a simple job to cadence + +cadence --ad :7933 --do ds-test workflow start --tasklist helloWorldTaskList --workflow_type HelloWorld::sayHello --execution_timeout 3600 --input \"World\" + +``` + +You should expect console prints out "Hello World" in `10` seconds \ No newline at end of file