Skip to content

Commit 5be37d7

Browse files
author
Severine Tymon
committed
[#134606323] Edits
1 parent f8608b7 commit 5be37d7

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

using-tasks.html.md.erb

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Tasks are used to perform one-off jobs, which can include:
2929

3030
###<a id="task-proceses"></a> How Tasks Are Run
3131

32+
Tasks are always executed asynchronously, meaning that they run independently from the parent application or other tasks that run on the same application.
33+
3234
The life-cycle of a task is:
3335

3436
1. A user initiates a task in Cloud Foundry using one of the following mechanisms:
@@ -38,11 +40,11 @@ The life-cycle of a task is:
3840

3941
1. Cloud Foundry creates a container specifically for the task.
4042
1. Cloud Foundry runs the task on the container using the value passed to the `cf run-task` command.
41-
1. Cloud Foundry destroys container.
43+
1. Cloud Foundry destroys the container.
4244

43-
When creating the container, Cloud Foundry uses the disk size and memory allocation specified for the parent application. The new container respects app, space, and organization-level memory quotas. The container also inherits environment variables, service bindings and security groups bound to the application. Tasks have a memory limit and a disk limit (global cloud foundry defaults for app memory in your bosh manifest or in ERT Application Developer Controls).
45+
When creating the container, Cloud Foundry uses the disk size and memory allocation specified for the parent application. The new container for the task also respects app, space, and organization-level memory quotas.
4446

45-
Tasks are always executed asynchronously, meaning that they run independently from the parent application or other tasks run on the same application.
47+
The container also inherits environment variables, service bindings and security groups bound to the application.
4648

4749
<p class="note"><strong>Note</strong>: You cannot SSH into the container running a task.</p>
4850

@@ -54,9 +56,12 @@ The task execution history is retained for one month.
5456

5557
## <a id='manage-tasks'></a> Manage Tasks
5658

57-
* Admins can use the Cloud Controller v3 API to view all the tasks that are running in an org or space. See http://v3-apidocs.cloudfoundry.org/version/3.0.0/index.html#list-tasks
59+
From a system-level point of view, a user with admin-level privileges can use the Cloud Controller v3 API to view all tasks that are running within an org or space. For more information, see the documentation for the [Cloud Controller v3 API](http://v3-apidocs.cloudfoundry.org/version/3.0.0/index.html#list-tasks).
60+
61+
In addition, admins can set the default memory and disk usage quotas for tasks on a global level. Tasks use the same memory and disk usage defaults as applications.
5862

59-
* Admins can set memory usage on a global level (link)
63+
partialize this-->
64+
These defaults are located in the BOSH manifest or in the Application Developer Controls configuraiton screen of the Elastic Runtime.
6065

6166
## <a id='run-tasks'></a> Run a Task on an Application
6267

0 commit comments

Comments
 (0)