Reputation: 69
I have a php file that runs fine from a web browser but fails as cron job.
My cron.yaml includes:
cron:
- description: new stuff
url: /crontest
schedule: every 1 hours
and app.yaml has:
handlers:
- url: /crontest
script: crontest.php
login: admin
Any extra requirements needed in my php file?
Upvotes: 0
Views: 96
Reputation: 69
So versions, or "target" is key in cron.yaml if you have multiple versions with different code.
Upvotes: 1