Tasks

Tasks[type]

gives a list of TaskObject expressions representing currently submitted tasks of given type.

Details

Examples

open allclose all

Basic Examples  (3)

Display a list of currently running tasks:

Create a task running locally:

Display a list of tasks:

Remove the task:

Create a task running locally:

Create a task running on a remote kernel:

Display a list of tasks:

Remove all tasks:

Scope  (1)

Create a cloud task to run once per hour for a total of 3 times:

Display the cloud task and the corresponding tracking local task:

Display only the cloud task:

Display the tracking local task:

Removing the tracking task will remove the cloud task as well:

Check that tasks were removed:

Introduced in 2017
 (11.2)
 |
Updated in 2020
 (12.1)