[PyCS-devel] Some more fun with pycsadm.py
Status: Alpha
Brought to you by:
myelin
|
From: Georg B. <gb...@mu...> - 2002-11-13 15:36:48
|
Hi! Just to give you something to play with, I now checked in two more functions for pycsAdmin.*: list - gives a list of objects (currently users with filters) shuffle - shuffles around data (currently only hits) pycsadm.py list users - this gives you a list of all users from the shell pycsadm.py list enabled pycsadm.py list disabled pycsadm.py shuffle hits - this shuffles hitstoday to hitsyesterday and cleans out hitstoday. there is an example crontab (file crontab.example) in the source distribution so you can see how to setup the shuffle feature to run at 5 minutes after midnight every night. Today hits make much more sense when they get cleaned out once every day ;-) bye, Georg |