开发者

cronjob googleAppEngine run script?

I've setup a GAE cronjob. My cron.yaml looks like this

cron:
- description: checkForPush
  url: /cron/
  schedule: every 1 minutes

Inside the cron folder i've got a cron.py file with an URL-Fetch. If开发者_StackOverflow i deploy the project and the cronjob runs it fails.

Any ideas?

Thanks a lot.


Your app.yaml declaration is for the url '/cron', but your cron.yaml is requesting '/cron/'. You need to change them so they both use the same path.


What happens if you go to /cron/ with a browser? Do you also get a 404? If so, then your problem probably isn't with your cron setup but with your script.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜