I try to understand how to permanently and always run jobs on a
backend. Currently I use a configuration like this:

backends.yaml:
backends:
- name: ic-verbuchung
  class: B1
  instances: 1
  start: modules/ic/ic_backend_verbuchung.py

ic_backend_verbuchung.py:
def main():
    """Permanentely executed Backend Job"""
    while True:
            do_stuff()
            if runtime.is_shutting_down():
                return

main()

But unfortunately i see each backend terminated after about 120
seconds with a "Process terminated because it failed to respond to the
start request with an HTTP status code of 200-299 or 404." message.

How do I run a job without any external triggers (and without backends
sitting idle in case of an exception)?

--md

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

Reply via email to