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