使用 python SDK 1.8.2 时,在 dev_appserver 管理界面查看 cron 作业页面返回以下错误:
Error loading cron.yaml:
Traceback (most recent call last):
File "/home/User/google_appengine/google/appengine/tools/devappserver2/admin/cron_handler.py", line 42, in get
values['cronjobs'] = self._get_cron_jobs()
File "/home/User/google_appengine/google/appengine/tools/devappserver2/admin/cron_handler.py", line 48, in _get_cron_jobs
cron_info = self._parse_cron_yaml()
File "/home/User/google_appengine/google/appengine/tools/devappserver2/admin/cron_handler.py", line 78, in _parse_cron_yaml
with open(os.path.join(self.configuration.servers[0].application_root,
AttributeError: 'ApplicationConfiguration' object has no attribute 'servers'
在SDK 1.8.1
与预期相同的作品中cron.yaml
。使用时需要更改 cron.yaml 中的任何设置SDK 1.8.2
吗?
cron.yaml
cron:
- description: FS Update
url: /fs_updatemail
schedule: every day 00:01
问题:https ://code.google.com/p/googleappengine/issues/detail?id=9665