Skip to main content

Add Job Schedule Notification Subscription

Subscribe to notifications for job schedule executions.

Syntax

alter job schedule <schedule reference> add notification subscription <spec>

alter job schedule <schedule reference> add email notification subscription [<spec>]
[with trigger "<trigger>"]
[with to <to email>]

Parameters

spec

JSONA specification for the notification subscription. Optional if using add email notification syntax.

schedule reference

String — The reference to the schedule to subscribe to, optionally qualified by project.

trigger

String — When to send notifications. See the notification subscription spec for options and default value.

to email

Email — The email to send notifications to. Default: user email address.