It is my first project with Web2py and I have a little difficulty. I want one script in the module section (lauched by crontab) to update one table of my database. When I launch the script from the controller I can send the db connection parameter to my fonction. But, how can I make all my scripts in the module section aware of my database connection defined in my model ? Certainly a stupid question but I'm stopped ! Thank you for your help.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---