Re: [Hypercontent-users] Compact repositories
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2008-10-28 14:00:28
|
Hi Carl, Unfortunately you can only run the "compact" workflow script one repository at a time. If you'd like to write a custom compact function, you can use the classes org.hypercontent.workflow.command.Compact and org.hypercontent.workflow.exec.impl.CompactingExecutable as a starting point. You can then attach it to a workflow script using the "exec" tag and set it to execute on a schedule using the normal scheduling techniques. e.g. <event name="compact-hull" when="@ 0 20 1"> <exec command="edu.hull.hypercontent.workflow.command.Compact"/> </event> Cheers, Alex On Oct 27, 2008, at 12:13 PM, Carl P Barrow wrote: > Hi All, > > > > Is there a way to compact all repositories all at once leaving only > the current edit of every piece of content in the CMS. As the > sites here at Hull have grown in number and size the repositories > are taking up a lot of space. I’d like to reduce this and given > that they are all backed up every night I could still retrieve > something if it was really needed. > > > > Or even better, could I write something to delete everything but > the last 10 edits which I could run every so often to keep size down. > > > > Thanks > > Carl > > > > > > > > ************************************* > > Carl Barrow > Systems Integrator > Academic Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > http://www.hull.ac.uk/cms > > ************************************* > > > > ********************************************************************** > ******************* > To view the terms under which this email is distributed, please go > to http://www.hull.ac.uk/legal/email_disclaimer.html > ********************************************************************** > *******************--------------------------------------------------- > ---------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |