scheduler.ScheduleOptions interface

可以在計劃觸發器上設定的選項。

簽名:

export interface ScheduleOptions extends options.GlobalOptions 

擴展: options.GlobalOptions

特性

財產類型描述
最大退避秒數數量 |表達<數字> |重置值重試前等待的最長時間。
最大加倍次數數量 |表達<數字> |重置值之間的時間將是最大加倍次數的兩倍。
最大重試秒數數量 |表達<數字> |重置值重試的時間限制。
最小退避秒數數量 |表達<數字> |重置值重打之前等待的最短時間。
重試次數數量 |表達<數字> |重置值失敗運轉的重試次數。
行程細繩時間表,採用 Unix Crontab 或 AppEngine 語法。
時區時區 |表達<字串> |重置值計畫執行所在的時區。

Scheduler.ScheduleOptions.maxBackoffSeconds

重試前等待的最長時間。

簽名:

maxBackoffSeconds?: number | Expression<number> | ResetValue;

調度程序.ScheduleOptions.maxDoublings

之間的時間將是最大加倍次數的兩倍。

簽名:

maxDoublings?: number | Expression<number> | ResetValue;

調度程序.ScheduleOptions.maxRetrySeconds

重試的時間限制。

簽名:

maxRetrySeconds?: number | Expression<number> | ResetValue;

調度程序.ScheduleOptions.minBackoffSeconds

重打之前等待的最短時間。

簽名:

minBackoffSeconds?: number | Expression<number> | ResetValue;

Scheduler.ScheduleOptions.retryCount

失敗運轉的重試次數。

簽名:

retryCount?: number | Expression<number> | ResetValue;

調度程式.ScheduleOptions.schedule

時間表,採用 Unix Crontab 或 AppEngine 語法。

簽名:

schedule: string;

調度程序.ScheduleOptions.timeZone

計畫執行所在的時區。

簽名:

timeZone?: timezone | Expression<string> | ResetValue;