On Friday, July 6, 2018 at 2:51:48 AM UTC-7, Manuele wrote:
>
> 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 
>
>
How are you setting the callback?

My first thought was that you were modifying the scheduler code, and what I 
would instead of that is launch a long-lived process that periodically did 
queries for status != COMPLETED, and reported the latest failures or 
hangups by sending mail.

/dps

 

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

Reply via email to