"Júlio Dinis Silva" <[EMAIL PROTECTED]> writes:

> Hi all,
> 
> is there a way to do a pack to zodb without using the managment screens pack 
> button?
> 
> Maybe a python script we could execute from the file system.

Mount the database, then call manage_pack (untested python with cwd in
lib/python):

import ZServer, Zope
Zope.app().Control_Panel.Database.manage_pack(days = 1)

-- 
Karl Anderson                          [EMAIL PROTECTED]

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to