Using PHP framework in Google App Engine, Cron job failed when I using the index.php url with login:required. I used login:admin for cron.
Refer my app.yaml file
app.yaml
application: my-app
version: 1
runtime: php55
api_version: 1
- url: /.*
script: index.php
login: required
- url: /backup_cron/remindermail
static_dir: backup_cron/remindermail
login: admin
I don't want use no login and login: admin to my index.php load.
My app can see all those who has Gmail login only. With no login cron job worked fine.
Is it possible with login:required used in first loading page?
With login:required
log details:
HTTP/1.1" 302
Request failed because URL requires user login. For requests invoked within App Engine (offline requests like Task Queue, or webhooks like XMPP and Incoming Mail), the URL must require admin login (or no login).
With no loginnd login:admin
Log details:
HTTP/1.1" 200
Success
index.phpwithout login at all? Or withlogin: admin? Also, what do the logs say? - MeLight