({{, ScheduledTaskObject[id,expr,spec,…]
is a task object specifying future evaluation of expr according to spec.}})

OpenersNotesSection(Spacer1)Details

ScheduledTaskObject is returned by functions such as (RefLink[CreateScheduledTask, paclet:ref/CreateScheduledTask]), (RefLink[RunScheduledTask, paclet:ref/RunScheduledTask]), and (RefLink[ScheduledTasks, paclet:ref/ScheduledTasks]).

Tasks can be scheduled for one-time evaluation or for repeated evaluation at regular intervals.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Create multiple tasks:

x=CreateScheduledTask[1]
y=CreateScheduledTask[2]

Remove the task using the ScheduledTaskObject expression:

RemoveScheduledTask[%%]

ScheduledTasks[]

RemoveScheduledTask[ScheduledTasks[]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Date and Time Functions, paclet:tutorial/DateAndTimeFunctions])}, {▪(RefLinkPlain[Controlling Infinite Evaluation, paclet:tutorial/ControllingInfiniteEvaluation])}})}})