[Zope-dev] Command Line Database Packing ?

Keith Larson keith.larson@spatial.com
Fri, 27 Oct 2000 09:11:02 -0600


Hey Thanks . 

I looked at the source and realized that is a pretty easy thing to figure
out I would have thought about it. 

I did have to adjust a little for mine to work thou and used 

/Control_Panel/Database/manage_pack?days:float=0 

Thanks a bunch ! 

Do you know a way to delete all the ACL users from a site from the command
line ?

Keith

-----Original Message-----
From: Federico Di Gregorio [mailto:fog@mixadlive.com]
Sent: Friday, October 27, 2000 8:58 AM
To: Keith Larson
Cc: Zope Dev
Subject: Re: [Zope-dev] Command Line Database Packing ?


Scavenging the mail folder uncovered Keith Larson's letter:
> Hello , 
> 
> Is there a way to run a script that could pack the database from the
command
> line ? 

wget your.zope.server:<port>/Control_Panel/Database/manage_pack?days=<n>

and substitute the right port for <port> and the number of days for <n>.

ciao,
federico
 
-- 
Federico Di Gregorio
MIXAD LIVE System Programmer                           fog@mixadlive.com
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
  Put a GNOME on your desktop! [http://www.gnome.org]
                                      -- brought to you by One Line Spam