Schedule interface Stay organized with collections Save and categorize content based on your preferences.
Configuration options for scheduled functions.
Signature:
exportinterfaceScheduleProperties
| Property | Type | Description |
|---|---|---|
| retryConfig | ScheduleRetryConfig | Settings that determine the retry behavior. |
| schedule | string | Describes the schedule on which the job will be executed.The schedule can be either of the following types:1.Crontab2. English-likeschedule |
| timeZone | string | ResetValue | Specifies the time zone to be used in interpretingSchedule.schedule.The value of this field must be a time zone name from the tz database. |
Schedule.retryConfig
Settings that determine the retry behavior.
Signature:
retryConfig?:ScheduleRetryConfig;Schedule.schedule
Describes the schedule on which the job will be executed.
The schedule can be either of the following types:
Signature:
schedule:string;Example
// Crontab scheduleschedule:"0 9 * * 1"`// Every Monday at 09:00 AM// English-like scheduleschedule:"every 5 minutes"Schedule.timeZone
Specifies the time zone to be used in interpretingSchedule.schedule.
The value of this field must be a time zone name from the tz database.
Signature:
timeZone?:string|ResetValue;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-14 UTC.