anchor.diff:  2016-12-14T11:09:30.50-0800 [APP/TASK/my-task/0]OUT Successfully destroyed container
   </pre>
   
  -If your task name is unique, you can grep this command's output on the task name to view task-specific logs.
  +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 Application
   
  
positive.code: Task 1 has been submitted successfully for execution.
  </pre>
  
  To re-run a task, you must run it as a new task using the above command.
  
  Use the `cf logs APP-NAME` command to display the logs of the app and all its tasks.
  
  <pre class="terminal">
  $ cf logs my-app
  2016-12-14T11:09:26.09-0800 [APP/TASK/my-task/0]OUT Creating container
  2016-12-14T11:09:28.43-0800 [APP/TASK/my-task/0]OUT Successfully created container
  2016-12-14T11:09:28.85-0800 [APP/TASK/my-task/0]ERR bash: bin/rails: command not found
  
negative.code: 
  <p class="note"><strong>Note</strong>: To run tasks with the cf CLI, you must install cf CLI v6.23.0 or later. See the <a href="../cf-cli/install-go-cli.html">Installing the Cloud Foundry Command Line Interface</a> topic for information about downloading, installing, and uninstalling the cf CLI.</p>
  
  To run a task on an application, perform the following steps:
  
  1. Push your application:
  	<pre class="terminal">$ cf push APP-NAME</pre>
  1. Run your task on the deployed application:
  	<pre class="terminal">$ cf run-task APP-NAME "TASK" --name TASK-NAME</pre>
  
  The following example runs a database migration as a task on the `my-app` application:
  
  <pre class="terminal">
  $ cf run-task my-app "bin/rails db:migrate" --name my-task
  