From e11e6e228f83857350dc5c6e8d9a8a20e57cf4ec Mon Sep 17 00:00:00 2001 From: Glenn Renfro Date: Thu, 3 Dec 2020 18:26:49 -0500 Subject: [PATCH] Fixed the task launch instructions in the scenario readme --- scenario-task/README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenario-task/README.adoc b/scenario-task/README.adoc index 4a93bc7..d9d6095 100644 --- a/scenario-task/README.adoc +++ b/scenario-task/README.adoc @@ -130,7 +130,7 @@ For this step we want the `scenario` task to fail so that the composed task exec This gives us the opportunity to show how to restart a failed batch job using Spring Cloud Data Flow. Using The Spring Cloud Data Flow shell enter the following command: ``` -task create mycomposedtask --definition "1: timestamp && scenario && 2: timestamp" +task launch --name mycomposedtask --properties "app.mycomposedtask.scenario.io.spring.failBatch=true,app.mycomposedtask.scenario.spring.cloud.task.batch.failOnJobFailure=true" ``` Once the task execution is complete check the status of the job executions by execution the job by executing the following command: