AbortScheduledTask

AbortScheduledTask is being phased out in favor of TaskAbort, which was introduced experimentally in Version 11.2.

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:

Attempt an abort of a task that is not running:

Run the task:

Queue an interrupt of the task:

Check the task status:

Delete the task:

Wolfram Research (2015), AbortScheduledTask, Wolfram Language function, https://reference.wolfram.com/language/ref/AbortScheduledTask.html.

Text

Wolfram Research (2015), AbortScheduledTask, Wolfram Language function, https://reference.wolfram.com/language/ref/AbortScheduledTask.html.

BibTeX

@misc{reference.wolfram_2021_abortscheduledtask, author="Wolfram Research", title="{AbortScheduledTask}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/AbortScheduledTask.html}", note=[Accessed: 27-November-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_abortscheduledtask, organization={Wolfram Research}, title={AbortScheduledTask}, year={2015}, url={https://reference.wolfram.com/language/ref/AbortScheduledTask.html}, note=[Accessed: 27-November-2021 ]}

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