RemoveScheduledTask

RemoveScheduledTask is being phased out in favor of TaskRemove, which was introduced experimentally in Version 11.2.

RemoveScheduledTask[obj]

removes obj from the list of currently scheduled local or cloud tasks.

Details

Examples

Basic Examples  (7)

Create a task that removes itself:

Create a task:

Remove the task:

Remove the task automatically when it is not needed:

The second task was automatically removed:

Non-synchronized tasks:

Better synchronization:

Create a task that runs only once and removes itself after finishing:

Create a task that removes itself once a condition is met:

Create a task that removes itself when an external variable is changed:

Cause the task to be stopped and removed:

Wolfram Research (2010), RemoveScheduledTask, Wolfram Language function, https://reference.wolfram.com/language/ref/RemoveScheduledTask.html (updated 2014).

Text

Wolfram Research (2010), RemoveScheduledTask, Wolfram Language function, https://reference.wolfram.com/language/ref/RemoveScheduledTask.html (updated 2014).

CMS

Wolfram Language. 2010. "RemoveScheduledTask." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/RemoveScheduledTask.html.

APA

Wolfram Language. (2010). RemoveScheduledTask. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RemoveScheduledTask.html

BibTeX

@misc{reference.wolfram_2024_removescheduledtask, author="Wolfram Research", title="{RemoveScheduledTask}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/RemoveScheduledTask.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_removescheduledtask, organization={Wolfram Research}, title={RemoveScheduledTask}, year={2014}, url={https://reference.wolfram.com/language/ref/RemoveScheduledTask.html}, note=[Accessed: 18-November-2024 ]}