[Zope] Product event when zope restarts
Jan
jan@itmeedia.ee
Thu, 10 May 2001 16:26:31 +0300
This is a multi-part message in MIME format.
------=_NextPart_000_012B_01C0D96D.F8974620
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello all!
I have been developing a Zope Product that basically reads in a file and =
shows it in zope. The problem is that when the file is updated in file =
system, that is not updated in zope. I do not want it to read the file =
every time it is accessed in zope. Refreshing it every time the zope =
restarts seems to be the solution.
So I was wondering if there is a function that will be executed when =
zope restarts.
Thanx.
------=_NextPart_000_012B_01C0D96D.F8974620
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello all!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I have been developing a Zope Product =
that=20
basically reads in a file and shows it in zope. The problem is that when =
the=20
file is updated in file system, that is not updated in zope. I do not =
want it to=20
read the file every time it is accessed in zope. Refreshing it every =
time the=20
zope restarts seems to be the solution.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>So I was wondering if there is a =
function that will=20
be executed when zope restarts.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanx.</FONT></DIV></BODY></HTML>
------=_NextPart_000_012B_01C0D96D.F8974620--