[Google Wave APIs] Re: cron job not executed

2009-10-30 Thread Martin Sarsale

 But very soon we will release a new mechanism to perform cron-like
 functionalities.  Stay tuned for updates.


I'm linking this response in my Wave Robots presentation (for BarcampBA) in
the slide that says it's vdry exciting but things are still shaky :)

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



[Google Wave APIs] cron job not executed

2009-10-29 Thread martin sarsale

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 google-wave-api@googlegroups.com
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en
-~--~~~~--~~--~--~---