[Zope] [Zope2.6] Something like zopectl run?
Dieter Maurer
dieter at handshake.de
Sun Mar 9 14:28:37 EDT 2008
Andreas Jung wrote at 2008-3-9 15:38 +0100:
>question for the Zope dinosaurs: was there a possibility for running a
>script against a Zope instance like zopectl run with newer Zope versions?
There was no precanned way but it is simple to
perform actions very similar to "zopectl run".
You do not need the "configure", though, as it was introduced only
in Zope 2.7.
You essentially do in such a runner script:
from sys import argv
del argv[0] # get rid of us
from Zope2 import app;
app = app()
execfile(argv[0])
--
Dieter
More information about the Zope
mailing list