Can you try...cath the task code and send the notification on exception
base  from the task it self, or make other kind of task that can be
schelude fron the first to send the notification in case of failure?

El vie., 6 jul. 2018 a las 5:51, Manuele Pesenti (<[email protected]>)
escribió:

> Hi Dave,
>
> thanks for your reply, I'm actually debugging but I found that the
> problem was a callback I added after scheduler_run update event in order
> to be advised by email for failed tasks.
>
> Is there a more correct way of doing it? Maybe should be a good feature
> for schduler.
>
> Cheers
>
>      Manuele
>
>
> On 06/07/2018 00:30, Dave S wrote:
> > Never happens to me, so I can only guess:\
> >
> > - you're waiting for a locked file ... IIRC, you're not using sqlite,
> > though, right?
> I'm using PostgreSQL
> > - you have a process that blocks waiting for results (like a response
> > from a remote system) and there are no results
> >
> > I think I can exclude things like seg faults, because those terminate
> > and would be logged as errors.
>
> --
> 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.
>


-- 
Msc. Yoel Benítez Fonseca

-- 
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