[dev] [Nic] Added feature: purge old records
Roel Gloudemans
roel at gloudemans.info
Thu Oct 28 12:54:04 PDT 2004
I use Nic to monitor some sites and systems. After a while the Nic tables get
really big. For me information older than a week isn't relevant anymore, so I
wrote a script that frees up some space in the database which Nic can fill
again. I run the script one a week to purge old status records.
This might be usefull to other people a well; so patches and script attached.
Cheers,
Roel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: purge.patch
Type: text/x-patch
Size: 4645 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20041028/4e0d4efb/purge.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: purgeStatus.php
Type: text/script
Size: 1263 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20041028/4e0d4efb/purgeStatus.bin
More information about the dev
mailing list