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:

Evaluate the task in the current session:

Remove the task:

Scope  (2)

Start a task:

Trigger the task to run asynchronously:

Delete the task:

Start a document generator:

Trigger the generator to run asynchronously:

Delete the generator:

Introduced in 2017
 (11.2)