({{, (RefLink[NotificationFunction, paclet:ref/NotificationFunction]) 
is an option that specifies how notifications should be sent from background tasks.}})

OpenersNotesSection(Spacer1)Details

Possible settings for (RefLink[NotificationFunction, paclet:ref/NotificationFunction]) include:

With (RefLink[NotificationFunction, paclet:ref/NotificationFunction])->f, the function f is applied to an association containing the following elements:

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Deploy a task that notifies multiple parties on any outcome:

co=CloudDeploy[ScheduledTask[{Now,AirTemperatureData[]},"Daily",
NotificationFunction->{{$WolframID,"a@b.com"}->All}
]]

Trigger the task to run asynchronously:

TaskExecute[co]

Trigger the task to run again:

With[{o=co},RunScheduledTask[o]]

Delete the task:

TaskRemove[co]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[DeliveryFunction, paclet:ref/DeliveryFunction])  ▪  (RefLink[ScheduledTask, paclet:ref/ScheduledTask])  ▪  (RefLink[DocumentGenerator, paclet:ref/DocumentGenerator])  ▪  (RefLink[SendMessage, paclet:ref/SendMessage])  ▪  (RefLink[SendMail, paclet:ref/SendMail])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Channel-Based Communication, paclet:guide/Channel-BasedCommunication])}})}})