可以在计划触发器上设置的选项。
签名:
export interface ScheduleOptions extends 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;