zope object modification time & script (perl, unrestricted)
Hi, is there a way to find out zope-object's creation time in extern perl script? thanks, -dm
Dan Meszaros <dm@petamem.com> wrote:
is there a way to find out zope-object's creation time in extern perl script?
It's not possible, see http://collector.zope.org/Zope/188 If you want that feature in you specific object, you can store that date when the object is constructed, but that's all. Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
sad :( thanks for your answer. regards -dm On Fri, 17 May 2002, Florent Guillaume wrote:
Dan Meszaros <dm@petamem.com> wrote:
is there a way to find out zope-object's creation time in extern perl script?
It's not possible, see http://collector.zope.org/Zope/188
If you want that feature in you specific object, you can store that date when the object is constructed, but that's all.
Florent
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
i could create a dtml-method, say <dtml-in objectValues> <dtml-var id>#<dtml-var bobobase_modification_time> </dtml-in> then call this method thru webserver (auch!) and parse it back in perl. very nasty. any better ideas?
sad :( thanks for your answer.
regards -dm
On Fri, 17 May 2002, Florent Guillaume wrote:
Dan Meszaros <dm@petamem.com> wrote:
is there a way to find out zope-object's creation time in extern perl script?
It's not possible, see http://collector.zope.org/Zope/188
If you want that feature in you specific object, you can store that date when the object is constructed, but that's all.
Florent
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
That's modification time, not creation time. Florent Dan Meszaros <dm@petamem.com> wrote:
i could create a dtml-method, say
<dtml-in objectValues> <dtml-var id>#<dtml-var bobobase_modification_time> </dtml-in>
then call this method thru webserver (auch!) and parse it back in perl. very nasty. any better ideas?
sad :( thanks for your answer.
regards -dm
On Fri, 17 May 2002, Florent Guillaume wrote:
Dan Meszaros <dm@petamem.com> wrote:
is there a way to find out zope-object's creation time in extern perl script?
It's not possible, see http://collector.zope.org/Zope/188
If you want that feature in you specific object, you can store that date when the object is constructed, but that's all. -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
participants (2)
-
Dan Meszaros -
Florent Guillaume