Defining the Schedule and Action
The
ScheduledTaskSpec
data object contains all the information to create a ScheduledTask
.- action– Action to take when theScheduledTaskruns. Specify anActiondata object, which is an abstract type that is extended by several specific action types. TheActiondata objects are also used by theAlarminfrastructure. See Specifying Alarm Actions.
- notification– Specifies the email address for sending notification messages about theScheduledTask. To use notifications, the vCenter Server system must have an SMTP email gateway configured. By default,notificationis set to an empty string.
- scheduler– Specifies the time, frequency, and other details of the schedule. TheTaskSchedulerdata object is the base type for several specific schedule objects. See Scheduling Recurring Operations.