We have a script that takes some time to execute. We have scheduled a cron
job and use backend to run the job.

Here's what the cron looks like:
url: /cron/my_job_name
target: mybackend
schedule: every 30 minutes from 06:00 to 12:00

The cron job runs correctly as expected. But when I hit the url:
https://myappname.googleplex.com/cron/my_job_name I get a
"DeadlineExceededError" when the job runs for more than 60 seconds.

I need to be able to hit the url directly for testing purposes. I don't
want to change the cron schedule every time for testing.

Is there a way to run the backend by hitting the url?

Adding my app.yaml and backends.yaml

*app.yaml*
url: /cron/my_job_name
script: path/my_job_name.py
login: admin

*backends.yaml*
name: mybackend
class: B8
instances: 1
options: dynamic

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to