404 from cron job on google app engine django app

前端 未结 2 1054
孤城傲影
孤城傲影 2021-01-21 07:26

So, everything else works... to preface this. But, I haven\'t really moved outside the admin interface. I\'m trying to get data from an API and insert it into the database if t

相关标签:
2条回答
  • 2021-01-21 07:59

    So... it was that I didn't route to teh location. I was actually able to just set a route (with admin against it) to the URL and then able to call it via the cron.yaml.

    0 讨论(0)
  • 2021-01-21 08:12

    You're mixing up elements of the flexible environment app.yaml with those of the standard environment app.yaml

    In particular the script: JSONdownload.app portion is ignored. You need to add the handler for the /run/get_data/ path inside your mysite.wsgi app, maybe from there invoking the JSONdownload.py code.

    Somehow related: cron job in google app engine not working.

    0 讨论(0)
提交回复
热议问题