I have a problem with the timezone attribute. It throws an error as below.
"ERROR: (gcloud.app.deploy) An error occurred while parsing file: [/xxxxxxx/cron.yaml] Unable to assign value 'America/Santiago' to attribute 'timezone': timezone 'America/Santiago' is unknown in "/xxxxxxx/cron.yaml", line 5, column 13"
I did a test with other timezone values that have the same result.
Current cron.yaml
cron:
- description: "Get Storbox files fromt 7 days ago"
url: /api/cron/storbox/read-files
schedule: every day 02:30
timezone: America/Santiago
retry_parameters:
job_retry_limit: 3
job_age_limit: 1h
min_backoff_seconds: 120
max_doublings: 0
- description: "Send Storbox files"
url: /api/cron/storbox/send-files
schedule: every 30 minutes from 08:30 to 18:00
timezone: America/Santiago
retry_parameters:
job_retry_limit: 1
job_age_limit: 10m
min_backoff_seconds: 120
max_doublings: 0
- description: "Update UF value"
url: /api/cron/uf
schedule: every day 05:00
timezone: America/Santiago
retry_parameters:
job_age_limit: 2h
min_backoff_seconds: 45
max_doublings: 1
The "America/Santiago" is not deprecated value from "zoneinfo" list.
I hope your help.
Regards