Andreas Jung, on 2007-06-14:
Write a PythonScript within the ZMI that calls the pack operation. Then call *this* script through wget.
I have found an alternative with urllib2. I added it to instancemanager. For those interested, see this changeset: http://dev.plone.org/collective/changeset/43815 Basically it is this: import urllib2 import base64 # Create a request req = urllib2.Request(url="http://localhost:8080/Control_Panel/ Database/manage_pack?days:float=7") # Add an authorization header auth = base64.encodestring("user:password") req.add_header('Authorization', "Basic %s" % auth) # Use POST instead of GET: needed at least in Zope 2.9.7 req.add_data('POST') info = urllib2.urlopen(req) -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater."