WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

NotificationFunction

is an option that specifies how notifications should be sent from background tasks.

Details
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Related Guides
History
Cite this Page

NotificationFunction

is an option that specifies how notifications should be sent from background tasks.

Details

  • Possible settings for NotificationFunction include:
  • None send no notifications
    Automatic send email notification to the owner on failure
    All send email notification to the owner on success or failure
    "chan"Automatic notify the owner on failure through the specified channel
    "chan"All notify the owner on success or failure through the channel
    {user1,user2,} send email on failure to the specified users
    {{user1,}cond,} send email to the specified users on condition cond
    f apply an arbitrary function
  • With NotificationFunction->f, the function f is applied to an association containing the following elements:
  • "Recipients" users to be notified
    "Result" result from the task
    "TaskLink" link to the task object
    "TaskCloudObject" cloud object for the task
    "TaskFilename" file name for the task (None if unnamed)
    "LogLink" link to the log from running the task
    "StartTime" start time of the task
    "EndTime" end time of the task
    "Timing" CPU time used for the task
    "AbsoluteTiming" wall-clock time used for the task
    "NextRunTime" time of the next scheduled run
    "RemainingRuns" number of remaining runs specified

Examples

Basic Examples  (1)

Deploy a task that notifies multiple parties on any outcome:

Trigger the task to run asynchronously:

Redeploy the task to notify on failure only:

Trigger the task to run again:

Redeploy the task with a custom notification function:

Trigger the task to run again:

Delete the task:

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

Text

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

CMS

Wolfram Language. 2015. "NotificationFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NotificationFunction.html.

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2025_notificationfunction, organization={Wolfram Research}, title={NotificationFunction}, year={2015}, url={https://reference.wolfram.com/language/ref/NotificationFunction.html}, note=[Accessed: 17-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /