Cron Jobs在GAE上使用PHP

时间:2014-11-07 03:12:50

标签: php google-app-engine cron

我有一个从网络浏览器运行良好的php文件,但作为cron作业失败。

我的cron.yaml包括:

cron:
- description: new stuff
  url: /crontest
  schedule: every 1 hours

和app.yaml有:

handlers:
- url: /crontest
  script: crontest.php
  login: admin

我的php文件中需要任何额外的要求吗?

1 个答案:

答案 0 :(得分:1)

所以版本,或"目标"如果您有多个版本使用不同的代码,那么这是cron.yaml中的关键。