How to run script from command-line

Posted by Eric on Stack Overflow See other posts from Stack Overflow or by Eric
Published on 2010-04-18T17:33:49Z Indexed on 2010/04/18 17:43 UTC
Read the original article Hit count: 412

Filed under:

I want to write a script that counts the types of objects there are in the ZODB, when they were created, how many users have joined since a given point in time,etc. I am wondering how to accomplish this. So, was wondering if there is a way to pass a script to bin/instance to be executed.

I've created this script with a py script but it takes a VERY long time to finish and this is why I would like to do this from the command-line... in the hopes of it running faster.

Thanks ERic

© Stack Overflow or respective owner

Related posts about zope