Re: [web2py] Scheduler stopping for some reason

2022-04-29 Thread Massimiliano
Try to look at the task item in the database.
There are some infos like status, last run time, next run time, how many
times has been executed etc

Il giorno ven 29 apr 2022 alle ore 09:37 António Ramos 
ha scritto:

> Hello i user scheduler and it was working like a charm
> this is my code in a module
>
> scheduler=current.scheduler
> scheduler.queue_task(self.callPager, pvars=dict(pager=11,
> local=''))
>
> i see the tasks in db.scheduler_task
>
> but they are QUEUED and dont complete.
> I see that my python process is still woking in memory
> [image: image.png]
>
> my db.scheduler_run table is empty.
>
> this is my worker
>
> [image: image.png]
> What could it be the problem ???
>
> regards
> António
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/CAEM0BxNdqVXFy1v86qZrntNd3r92ofgYHbzyB4we578sBPJ0Fw%40mail.gmail.com
> 
> .
>


-- 
Massimiliano

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CANPTPxJ55tLZdyg5pKyGYXoYBNhvH4fBsa1XfuLtA23Vpr0%3Dtw%40mail.gmail.com.


[web2py] Scheduler stopping for some reason

2022-04-29 Thread António Ramos
Hello i user scheduler and it was working like a charm
this is my code in a module

scheduler=current.scheduler
scheduler.queue_task(self.callPager, pvars=dict(pager=11,
local=''))

i see the tasks in db.scheduler_task

but they are QUEUED and dont complete.
I see that my python process is still woking in memory
[image: image.png]

my db.scheduler_run table is empty.

this is my worker

[image: image.png]
What could it be the problem ???

regards
António

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAEM0BxNdqVXFy1v86qZrntNd3r92ofgYHbzyB4we578sBPJ0Fw%40mail.gmail.com.