[web2py] Re: Function can't update DB when called from scheduler, but can when called from a controller/function

2016-03-23 Thread M Mihai
On Wednesday, March 23, 2016 at 5:44:34 PM UTC+2, Dave S wrote: > > > > On Wednesday, March 23, 2016 at 7:46:24 AM UTC-7, M Mihai wrote: >> >> >> >> On Wednesday, March 23, 2016 at 1:24:32 AM UTC+2, Dave S wrote: >>> >>> >>> >>> On Tuesday, March 22, 2016 at 3:45:25 PM UTC-7, M Mihai wrote:

[web2py] Re: Function can't update DB when called from scheduler, but can when called from a controller/function

2016-03-23 Thread Dave S
On Wednesday, March 23, 2016 at 7:46:24 AM UTC-7, M Mihai wrote: > > > > On Wednesday, March 23, 2016 at 1:24:32 AM UTC+2, Dave S wrote: >> >> >> >> On Tuesday, March 22, 2016 at 3:45:25 PM UTC-7, M Mihai wrote: >>> >>> So I want to update the database while a scheduler task is running but >>>

[web2py] Re: Function can't update DB when called from scheduler, but can when called from a controller/function

2016-03-23 Thread M Mihai
On Wednesday, March 23, 2016 at 1:24:32 AM UTC+2, Dave S wrote: > > > > On Tuesday, March 22, 2016 at 3:45:25 PM UTC-7, M Mihai wrote: >> >> So I want to update the database while a scheduler task is running but >> the function won't update it. If I try to run the same function from a >>

[web2py] Re: Function can't update DB when called from scheduler, but can when called from a controller/function

2016-03-22 Thread Dave S
On Tuesday, March 22, 2016 at 3:45:25 PM UTC-7, M Mihai wrote: > > So I want to update the database while a scheduler task is running but the > function won't update it. If I try to run the same function from a > controller it will update the database. > > Here is the function: > > def Test():