Dear All:
What I understood from the docs is that I need to create an new python
file that answers cron calls. I created this script, updated
capabilities.xml and app.yml but the cron jobs are never executed
(according to the logs in GAE)
In capabilities.xml I have:
<w:crons>
<w:cron path="/_wave/update_searches" timerinseconds="10"/>
</w:crons>
and in app.yml
- url: /_wave/update_searches
script: update_searches.py
My update_searches.py script has:
import logging
from waveapi import robot
from waveapi import robot_abstract
import sys
json_body = sys.stdin.read()
context, events = robot_abstract.ParseJSONBody(json_body)
logging.debug("raw %s" % raw)
logging.debug("context %s" % context)
logging.debug("events %s" % events)
Any hints?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Wave API" 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-wave-api?hl=en
-~----------~----~----~----~------~----~------~--~---