Partager via


CronTrigger interface

Extends

Properties

expression

[Required] Specifies cron expression of schedule. The expression should follow NCronTab format.

triggerType

Polymorphic discriminator, which specifies the different types this object can be

Inherited Properties

endTime

Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. Recommented format would be "2022-06-01T00:00:01" If not present, the schedule will run indefinitely

startTime

Specifies start time of schedule in ISO 8601 format, but without a UTC offset.

timeZone

Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11

Property Details

expression

[Required] Specifies cron expression of schedule. The expression should follow NCronTab format.

expression: string

Property Value

string

triggerType

Polymorphic discriminator, which specifies the different types this object can be

triggerType: "Cron"

Property Value

"Cron"

Inherited Property Details

endTime

Specifies end time of schedule in ISO 8601, but without a UTC offset. Refer https://en.wikipedia.org/wiki/ISO_8601. Recommented format would be "2022-06-01T00:00:01" If not present, the schedule will run indefinitely

endTime?: string

Property Value

string

Inherited From TriggerBase.endTime

startTime

Specifies start time of schedule in ISO 8601 format, but without a UTC offset.

startTime?: string

Property Value

string

Inherited From TriggerBase.startTime

timeZone

Specifies time zone in which the schedule runs. TimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11

timeZone?: string

Property Value

string

Inherited From TriggerBase.timeZone