404 from cron job on google app engine django app

前端 未结 2 1071
孤城傲影
孤城傲影 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 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.

提交回复
热议问题