[Zope] cron
Jake (aka BZ)
jake at zopezone.com
Tue Nov 11 14:21:47 EST 2003
You don't need to do this via wget.
There is a utilities (down in ~lib/python/ZODB/ ?) called fsrecover.py
that has an option to pack the database.
fsrecover.py + cron = packed ZODB.
Enjoy.
Jake
--
http://www.ZopeZone.com
Chris Herrnberger said:
> Greetings;
>
> Was reading up on zope labs on who to use cron and wget to call zope
> functions
> and Im almost there.
>
> What I would like to do is set a cron job to pack the db and flush the
> cache
> on a regular basis. Using the following URL on a test machine I can get
> there
> almost;
>
> http://XXXXX:xxxx@localhost:8181/Control_Panel/Database/manage_cacheGC
>
> but I am at a loss on how to activate the 'minimize' function as I dont
> know
> how to call it. Same scenario for 'pack' in ~/Database/manage
>
> Any clues would be greatly appreciated, or direction towards some docs on
> an
> alternative way of routinely packing the db and cleaning the cache..
>
> Best and many thanks
>
> /ch
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
More information about the Zope
mailing list