Configuring Google Cloud Scheduler Jobs Without DST Surprises
Google Cloud Scheduler accepts standard 5-field unix-cron expressions alongside an explicit --time-zone flag (such as America/Los_Angeles or Etc/UTC). Unlike AWS EventBridge, GCP Cloud Scheduler does not use a 6th Year field or ? placeholder, making POSIX schedules directly portable.
Because Cloud Scheduler provides at-least-once delivery with configurable retry backoff (max-retry-attempts, min-backoff-duration) and automatic OIDC token signing for private Cloud Run endpoints, keep scheduled intervals well above your HTTP attempt-deadline to avoid overlapping executions.
- Supported FormatStandard 5-field unix-cron (minute hour dom month dow); supports 0–7 for Sunday and step/range syntax.
- Timezone FlagAccepts any tz-database IANA string via --time-zone (defaults to Etc/UTC if omitted).
- Delivery SemanticsAt-least-once HTTP, Pub/Sub, or App Engine invocation—always make Cloud Run / Cloud Functions handlers idempotent.
Does Google Cloud Scheduler support seconds-level cron expressions?
No. Cloud Scheduler has a minimum granularity of 1 minute (* * * * *). For sub-minute tasks, use Cloud Tasks or a long-lived Cloud Run worker.
What happens during Daylight Saving Time transitions in GCP Cloud Scheduler?
If --time-zone observes DST, jobs scheduled between 02:00 and 02:59 are skipped on spring-forward days and may fire twice on fall-back days. Use Etc/UTC for strict cadence.