Re: [web2py] Re: to be or not to be... run by scheduler

2017-10-30 Thread Manuele Pesenti
Ok that's the problem, I'm using a 2.14.6 release. Thanks Anthony and others On 28/10/2017 13:14, Anthony wrote: That was a bug but should be fixed in web2py 2.15. If you can't upgrade, as an alternative, see: https://groups.google.com/d/msg/web2py/JeE6jLP-qjI/MXS0MVdOCQAJ Anthony --

Re: [web2py] Re: to be or not to be... run by scheduler

2017-10-28 Thread Anthony
On Thursday, October 26, 2017 at 3:57:11 AM UTC-4, Manuele wrote: > It seams that the parameter request.is_scheduler is always set to false > on my colleague windows system > > could it be a possible bug? Any other experience? That was a bug but should be fixed in web2py 2.15. If you can't

Re: [web2py] Re: to be or not to be... run by scheduler

2017-10-28 Thread Dave S
On Thursday, October 26, 2017 at 12:57:11 AM UTC-7, Manuele wrote: > > It seams that the parameter request.is_scheduler is always set to false > on my colleague windows system > > could it be a possible bug? Any other experience? > > M. > > I can confirm that on AWS linux,

Re: [web2py] Re: to be or not to be... run by scheduler

2017-10-26 Thread Manuele Pesenti
It seams that the parameter request.is_scheduler is always set to false on my colleague windows system could it be a possible bug? Any other experience?     M. On 20/10/2017 17:20, Anthony wrote: If it is a scheduler execution, request.is_scheduler will be True. Anthony -- Resources: -

[web2py] Re: to be or not to be... run by scheduler

2017-10-20 Thread Anthony
If it is a scheduler execution, request.is_scheduler will be True. Anthony On Friday, October 20, 2017 at 9:09:40 AM UTC-4, Manuele wrote: > > Hi *! > > Is there a way to distinguish from within a function if it's run from > the scheduler or not? > > thanks a lot > > M. > > --