TaskExecute

TaskExecute[task]

immediately executes an instance of the specified task, independently of any schedule given.

Details

  • task can be either a TaskObject or task identifier string for a specific task.
  • TaskExecute has attribute Listable.
  • For scheduled tasks, executing an instance of the task using TaskExecute does not affect the scheduled execution of other instances.

Examples

open allclose all

Basic Examples  (1)

Specify a task:

In[1]:=
Click for copyable input
Out[1]=

Evaluate the task in the current session:

In[2]:=
Click for copyable input

Remove the task:

In[3]:=
Click for copyable input
Out[3]=

Scope  (2)

See Also

TaskResume  TaskAbort  Tasks  TaskObject

Introduced in 2017
(11.2)