[Zope] Running a script at Zope startup

Chris Withers chrisw@nipltd.com
Thu, 31 Jul 2003 16:48:46 +0100


Herman Geldenhuys wrote:
> def installConnections():
>     def install():
>         #1) get zope app object
>         #2) loop through zope objects and create connections manually
>         ...
>     thread.start_new(install, ())

I do something similar to this to set up another session data container in the 
temp_folder. Haven't had any problems and would love to know if I'm dicing with 
death here...

cheers,

Chris