Running a script at Site startup/shutdown

"Winterflood, Jonathan" <[email protected]> Mon, 7 May 2007 12:24:25 +0200
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <2A5D32A4E4678A4D8A8AF34E3B0A785FC7463E@CORPMAIL31.corp.capgemini.com>
Hi,

I'm trying to get a script/External Method to run when my CPS site
starts /stops (i.e. on server restart)
I have managed to call scripts when the product the site is based on
initializes (from __init__.py::initialize(context) ), but the context is
not that of the site, but of the Product (which is logical...)
I would also like to call a script when the site is taken offline


How should I go about this?
Thanks,
Jonathan


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel