it's very simple then: if it's failed , the traceback is stored in the 
corresponding scheduler_run table !

On Wednesday, November 23, 2016 at 3:44:03 PM UTC+1, Ramos wrote:
>
> The task itself is set as failed!
>
>
>
> Enviado a partir do meu smartphone Samsung Galaxy.
>
> -------- Mensagem original --------
> De: Niphlod <nip...@gmail.com <javascript:>> 
> Data: 23/11/16 13:08 (GMT+00:00) 
> Para: web2py-users <web...@googlegroups.com <javascript:>> 
> Assunto: [web2py] Re: Scheduler error 
>
> 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 <ramst...@gmail.com>:
>>
>>> 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 <ramst...@gmail.com>:
>>>
>>>> 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 web2py+un...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to