I'm using Trunk Source on Windows XP (Python-2.5.4)

I can get Cron working fine if I do:
*/5   *       *       *       *       root *applications/myapp/cron/
email_send.py
However this fails:
*/5   *       *       *       *       root *mycontroller/email_send

According to the docs, this should work:
http://web2py.com/examples/default/cron

email_send function is currently just:
import logging
logging.warn('email about to be sent!')

email_send.py is just:
import urllib
urllib.urlopen('http://%s/myapp/mycontroller/email_send' %
request.env.http_host).read()

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

Reply via email to