【发布时间】:2014-01-22 19:56:16
【问题描述】:
我以前可以部署,但我本地环境中的某些内容发生了变化。我与之合作的其他开发人员仍然可以从同一个 repo 部署,所以我知道它一定是我的 mac 上的东西,但我不知道是什么。部署实际上一直有效,直到更新 crons:
[localhost] local: appcfg.py --oauth2 --version=prod update_cron .
01:39 PM Host: appengine.google.com
Error parsing yaml file:
Unable to assign value 'America/Chicago' to attribute 'timezone':
timezone 'America/Chicago' is unknown
in "./cron.yaml", line 5, column 13
Fatal error: local() encountered an error (return code 1) while executing 'appcfg.py --oauth2 --version=prod update_cron .'
Aborting.
cron.yaml:
cron:
- description: remove orphaned revisions
url: /bible_importer/revisions/orphaned
schedule: every day 04:00
timezone: America/Chicago
target: import
- description: remove orphaned fragment sets
url: /bible_importer/fragments/orphaned
schedule: every day 04:30
timezone: America/Chicago
target: import
提前致谢!
【问题讨论】:
-
奇怪的是它应该可以工作。此处不检查en.wikipedia.org/wiki/List_of_zoneinfo_time_zones可以使用
US/Central,相当于试试看是否有问题。 -
我尝试了 US/Central,但不幸的是我遇到了同样的错误。 :(