共用方式為


CronTrigger interface

Extends

屬性

expression

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

triggerType

多型歧視性,指定這個物件可以是的不同類型

繼承的屬性

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

多型歧視性,指定這個物件可以是的不同類型

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