[web2py] Re: is commit necessary for update_or_insert() in scheduler

2012-10-19 Thread Niphlod
in any external process when you use dal you should commit to save changes. web2py commits at the end of the request by default, but in the scheduler (it is an external process, after all) you should do it manually. You must think to the scheduler as a web2py shell (launched with web2py.py -M

Re: [web2py] Re: is commit necessary for update_or_insert() in scheduler

2012-10-19 Thread Adnan Smajlovic
Thank you Niphlod! Every day I thank you, Massimo and everyone who contribute, for a scheduler, and web2py in general :) The scheduler is now on autopilot, simulating a workflow and works like a charm... Just loading large data through it, and will see how will app behave once all is in... We'll