AbortScheduledTask[task]
interrupts any currently evaluating instances of the cloud task task.
AbortScheduledTask
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:
o = CloudDeploy[ScheduledTask[Pause[120], None], "testDir/ast1"]Attempt an abort of a task that is not running:
AbortScheduledTask[o]RunScheduledTask@@{o};ScheduledTaskInformation[o, "Status"]Queue an interrupt of the task:
AbortScheduledTask[o]ScheduledTaskInformation[o, "Status"]RemoveScheduledTask[o]See Also
History
Text
Wolfram Research (2015), AbortScheduledTask, Wolfram Language function, https://reference.wolfram.com/language/ref/AbortScheduledTask.html.
CMS
Wolfram Language. 2015. "AbortScheduledTask." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AbortScheduledTask.html.
APA
Wolfram Language. (2015). AbortScheduledTask. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AbortScheduledTask.html
BibTeX
@misc{reference.wolfram_2026_abortscheduledtask, author="Wolfram Research", title="{AbortScheduledTask}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/AbortScheduledTask.html}", note=[Accessed: 16-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_abortscheduledtask, organization={Wolfram Research}, title={AbortScheduledTask}, year={2015}, url={https://reference.wolfram.com/language/ref/AbortScheduledTask.html}, note=[Accessed: 16-June-2026]}