anchor.diff:  Task 1 has been submitted successfully for execution.
   </pre>
   
  -<p class="note"><strong>Note</strong>: To re-run a task, you must run it as a new task using the above command.</p>
  +<p class="note"><strong>Note:</strong> To re-run a task, you must run it as a new task using the above command.</p>
   
   Use the `cf logs APP-NAME --recent` command to display the recent logs of the app and all its tasks.
   
  
positive.code: 
  If your task name is unique, you can `grep` the output of the `cf logs` command for the task name to view task-specific logs.
  
  ## <a id='list-tasks'></a> List Tasks Running on an App
  
  To list the tasks for a given app, run the `cf tasks APP-NAME`. For example:
  
negative.code: 
  Each task has one of the following states:
  
  | State | Description |
  | ----- | ----------- |
  | RUNNING | The task is currently in progress. |
  | FAILED | The task did not complete. This state occurs when a task does not work correctly or a user cancels the task. |
  | SUCCEEDED | The task completed successfully. |
  
  
  ## <a id='cancel-task'></a> Cancel a Task
  
  After running a task, you may be able to cancel it before it finishes. To cancel a running task, run the `cf terminate-task APP-NAME TASK-ID` command. For example:
  
  <pre class="terminal">
  $ cf terminate-task my-app 2
  