Re: [Zope] Startup hook

2005-08-17 Thread Lennart Regebro
On 8/17/05, Gabriel Genellina [EMAIL PROTECTED] wrote: Hello I need to execute something each time Zope starts, Really? Could you explain what and why? -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/

RE: [Zope] Startup hook

2005-08-17 Thread Pascal Peregrina
Well, creating a subfolder in the Products folder and putting an __init__.py there that does what you want should work. Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabriel Genellina Sent: 17 August 2005 15:35 To: zope@zope.org Subject: [Zope]

Re: [Zope] Startup hook

2005-08-17 Thread 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

Re: [Zope] Startup hook

2005-08-17 Thread Tino Wildenhain
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,

Re: [Zope] Startup hook

2005-08-17 Thread Andrew Langmead
On Aug 17, 2005, at 4:40 PM, Tino Wildenhain wrote: cd Products mkdir FancyThirtPartyStartupDieterForgotTheName cd Fancy* echo import mymoduleineedtostart __init__.py echo mymoduleineedtostart.run() __init__.py maybe? ;) A neat variation of this would be something derived from