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;