Andy Dawkins writes: Thank you Andy. That was generous. Have you ever used this from cron? Just so I know before I try it. All my best,
Jason
I'm not sure if it is worthy of putting up on Zope. Although I'm sure people will correct me if I am wrong.
But I have no problems in letting you have it
<packDb.py> is the main python script. You will need to change the line that reads s=xmlrpclib.Server('http://myserver:8080/', transport=None, username='username', password='password') To reflect your correct server details.
<xmlrpclib.py> xmlrpc Library for python. Place this in your python/libs directory, or the same directory as packDb.py
<packExtension.py> This contains the code for the external Method. Place this in your zope/Extensions directory. Create it if it doesn't exist.
You will need to add an external method to the root of your ZODB that points to packExtensions.py script
If you have any problem then please let me know.
-Andy
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.