TaskAbort[task]
generates an interrupt to abort the current execution of a task.


TaskAbort
TaskAbort[task]
generates an interrupt to abort the current execution of a task.
Details

- task can be either a TaskObject or task identifier string for a specific task.
- TaskAbort works on tasks initiated by CloudSubmit, LocalSubmit and URLSubmit.
- For a scheduled task, TaskAbort aborts only the currently executing instance of the task and does not affect subsequent scheduled instances.
- TaskAbort[task] does nothing if task does not correspond to a currently executing task.
- TaskAbort[task] initiates an abort, then returns immediately, giving the TaskObject[…] of the task.
- TaskAbort has attribute Listable.
See Also
Related Guides
History
Text
Wolfram Research (2017), TaskAbort, Wolfram Language function, https://reference.wolfram.com/language/ref/TaskAbort.html.
CMS
Wolfram Language. 2017. "TaskAbort." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TaskAbort.html.
APA
Wolfram Language. (2017). TaskAbort. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TaskAbort.html
BibTeX
@misc{reference.wolfram_2025_taskabort, author="Wolfram Research", title="{TaskAbort}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/TaskAbort.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_taskabort, organization={Wolfram Research}, title={TaskAbort}, year={2017}, url={https://reference.wolfram.com/language/ref/TaskAbort.html}, note=[Accessed: 15-August-2025]}