Where is this code located and how are you calling it? If it's in a 
controller, you may need to call bookings() with an argument.

Did you review this:
http://web2py.com/book/default/chapter/04?#Background-Processes-and-Task-Queues

Reply via email to