Thank you for indicating what was the origin of the issue On Friday, June 19, 2020 at 6:59:52 PM UTC+2, Julio Urbina wrote: > > Hi, > > Thank you for your answer. > > There was are an issue with gcloud 297.0 ( > https://issuetracker.google.com/issues/159109983). The solution was to > update the gcloud SDK to version 297.0.1 > > Regards > > El viernes, 19 de junio de 2020, 4:58:55 (UTC-4), Juan Carlos (GCP > Support) escribió: >> >> Hi, >> >> I copied and pasted your cron.yaml file, deploed with `gcloud app deploy >> cron.yaml` and go >> $ gcloud app deploy cron.yaml >> >> ERROR: (gcloud.app.deploy) An error occurred while parsing file: >> [/home/hello_world/cron.yaml] >> Missing required value [schedule]. >> in "/home/hello_world/cron.yaml", line 3, column 2 >> >> Then I fixed the indentation error due to spaces in the third line and >> the following lines, redeployed and my cron job was deployed successfully. >> >> Fixed 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 >> >> ``` >> >> On Thursday, June 18, 2020 at 11:18:08 PM UTC+2, Julio Urbina wrote: >>> >>> Hi, >>> >>> 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. >>> >>> Until Sunday works fine. >>> >>> I hope your help. >>> >>> Regards >>> >>
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/61027b1c-b50c-4548-86a1-884ca59dc806o%40googlegroups.com.
