AbortScheduledTask

As of Version 11.2, AbortScheduledTask has been superseded by TaskAbort.

AbortScheduledTask[task]

interrupts any currently evaluating instances of the cloud task task.

Details

  • AbortScheduledTask does not deactivate the schedule associated with task. Execution resumes on the following trigger.
  • If there is no evaluation of task in progress, AbortScheduledTask has no effect.
  • AbortScheduledTask queues an interrupt of task and returns immediately.
  • AbortScheduledTask works on document generators.
  • AbortScheduledTask returns the cloud object of the aborted task.

Examples

Basic Examples  (1)

Deploy a task with no schedule:

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

Attempt an abort of a task that is not running:

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

Run the task:

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

Queue an interrupt of the task:

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

Check the task status:

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

Delete the task:

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

See Also

ScheduledTask  ContinuousTask  DocumentGenerator

Introduced in 2015
(10.2)