[CPS-devel] Running a script at Site startup/shutdown

Winterflood, Jonathan jonathan.winterflood at capgemini.com
Mon May 7 12:24:25 CEST 2007


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.




This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.