[Zope] Startup hook

Tino Wildenhain tino at wildenhain.de
Wed Aug 17 16:40:23 EDT 2005


Am Mittwoch, den 17.08.2005, 22:09 +0200 schrieb Dieter Maurer:
> Gabriel Genellina wrote at 2005-8-17 11:34 -0300:
> >I need to execute something each time Zope starts, is there any place where 
> >i could put such things? (apart from modifying Zope.Startup.__init__.py)
> 
> An incredibly long time ago, there was a (third party) product
> that did this. I forgot its name...
> 

cd Products
mkdir FancyThirtPartyStartupDieterForgotTheName
cd Fancy*
echo "import mymoduleineedtostart" >__init__.py
echo "mymoduleineedtostart.run()" >>__init__.py

maybe? ;)





More information about the Zope mailing list