({{, (RefLink[AutoRemove, paclet:ref/AutoRemove]) 
is an option specifying whether tasks, generators, and related constructs should be removed after they are executed.}})

OpenersNotesSection(Spacer1)Details

A task or generator with (RefLink[AutoRemove, paclet:ref/AutoRemove]) set to (RefLink[True, paclet:ref/True]) will delete itself following its final specified run.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Deploy a task:

co=CloudDeploy[ScheduledTask[Now,{3600,1},AutoRemove->True]]

Run the task asynchronously:

TaskExecute[co]

FileExistsQ[co]

Remove the task:

TaskRemove[co]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[TaskRemove, paclet:ref/TaskRemove])  ▪  (RefLink[RemoveChannelListener, paclet:ref/RemoveChannelListener])  ▪  (RefLink[DocumentGenerator, paclet:ref/DocumentGenerator])  ▪  (RefLink[DocumentGeneratorInformation, paclet:ref/DocumentGeneratorInformation])}})}})