CronTrigger interface

模型介面 CronTrigger

Extends

屬性

expression

[必要]指定排程的cron運算式。 表達式應遵循 NCronTab 格式。

triggerType

[Required]

繼承的屬性

endTime

指定 ISO 8601 中的排程結束時間,但不含 UTC 位移。 請參閱 https://en.wikipedia.org/wiki/ISO_8601。 重新註釋的格式為“2022-06-01T00:00:01”如果不存在,時間表將無限期運行

startTime

以 ISO 8601 格式指定排程的開始時間,但不含 UTC 位移。

timeZone

指定排程執行所在的時區。 TimeZone 應該遵循 Windows 的時區格式。 請參閱: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11

屬性詳細資料

expression

[必要]指定排程的cron運算式。 表達式應遵循 NCronTab 格式。

expression: string

屬性值

string

triggerType

[Required]

triggerType: "Cron"

屬性值

"Cron"

繼承的屬性詳細資料

endTime

指定 ISO 8601 中的排程結束時間,但不含 UTC 位移。 請參閱 https://en.wikipedia.org/wiki/ISO_8601。 重新註釋的格式為“2022-06-01T00:00:01”如果不存在,時間表將無限期運行

endTime?: string

屬性值

string

繼承自TriggerBase.endTime

startTime

以 ISO 8601 格式指定排程的開始時間,但不含 UTC 位移。

startTime?: string

屬性值

string

繼承自TriggerBase.startTime

timeZone

指定排程執行所在的時區。 TimeZone 應該遵循 Windows 的時區格式。 請參閱: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11

timeZone?: string

屬性值

string

繼承自TriggerBase.timeZone