when you say "fail" you mean the status of the task itelf is set as FAILED 
or that your db.emails.status is 'failed' ?

On Wednesday, November 23, 2016 at 1:13:10 PM UTC+1, Ramos wrote:
>
> web2py 2.14.3
>
> 2016-11-23 12:07 GMT+00:00 António Ramos <[email protected] <javascript:>
> >:
>
>> i think the problem is in response.render... because i change it to a 
>> simple email with no template rendering and it works..
>>
>> 2016-11-23 11:51 GMT+00:00 António Ramos <[email protected] 
>> <javascript:>>:
>>
>>> what can be wrong with the code in my scheduler.py ?
>>> *montlyreport* is called by a task with the same name
>>> I have 2 users in auth_user table
>>> I see 2 emails generated in table "emails"
>>> then 2 tasks generated in scheduler_task
>>> But these 2 tasks fail and no info about what failed...
>>> Regards
>>> [image: Imagem inline 2]
>>>
>>
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to