Also, note that it shouldn't be a problem to call db.commit() within a controller action. The only downside is if the action subsequently throws an exception and a ticket is issued, the transaction that was committed will not be rolled back.
Anthony On Thursday, August 17, 2017 at 9:20:06 AM UTC-4, Leonel Câmara wrote: > > That seems fine to me. Note however that you can know if the function is > being run by the scheduler looking at request.is_scheduler > -- 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.

