On Monday, September 26, 2016 at 1:34:00 PM UTC-7, Oasis Agano wrote: > > Briefly what im trying to do is to create payslips for all contracts in > the db through a loop, >
I don't understand. Is what is supposed to be done a response to a user? Is that user an employee logging the time spent on jobs? Is that user a bookkeeper processing data for several employees? If every contract in the database needs a payslip for every employee, then perhaps a scheduled task would be better than an interactive page. Tasks that take a long time have issues if the browser times out, or even if it just feels like it is never going to return a response. On the other hand, if the user is an employee entering the time spent, is the task to divide the time up among the contracts the employee is attached to? Does the user have to show how many hours were spent on each contract? /dps -- 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. For more options, visit https://groups.google.com/d/optout.