404 From Cron Job On Google App Engine Django App
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 there'
Solution 1:
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.
Solution 2:
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.
Post a Comment for "404 From Cron Job On Google App Engine Django App"