I am sorry cron errors need to be improved. You can add some try:.... except Exception,e: print e
in the cron task. On Nov 9, 9:21 pm, "Xie&Tian" <mft...@gmail.com> wrote: > Hi > > I've a controller function as a cron job, which fetches some data from > a remote server and updates local db. It runs correctly when accessed > directly from browser. But as a cron job, web2py just keep saying: > > WARNING:root:WEB2PY CRON Call returned code 1: No error message available > > and no update was performed. What is wrong here? How can I debug it? > > Thanks > > -- > Luyun Xie > 谢路云http://magefromhell.blogspot.com/ > (http://blog.hellmage.info/) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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 -~----------~----~----~----~------~----~------~--~---