|
I should just release something. I’ve already written this for Both VOPRadius and Modusmail and includes right-click menus for any web-based user database (such as Rodopi).
In MS SQL you can do a simple “delete from <tablename> where ldatetime < dateadd(hour, -24, current_timestamp)” to delete entries older than 24 hours. To get rid of entries you don’t want (like watchdog entries) you would just do “delete from <tablename> where errormessage like ‘Cleaning Up Port%’ “. Obviously you would want to schedule these lines in a stored procedure that runs at an interval of your choosing and include in the schedule steps to shrink the db to get rid of empty lines (from the delete above) and control transaction log growth.
Brad Johnson Systems Administrator Local Link Network Operations
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Global Net, LLC
I have a errorlog every renew 24 hours, so you can tell what a mess that can be.
I would be interested on how you done the hour parse, if your willing to share.
Jeff
|
Title: Message
- [VOPRadius] (Interim Processing) Cleaning up port Brad Johnson
- [VOPRadius] (Interim Processing) Cleaning up port sysop
- [VOPRadius] (Interim Processing) Cleaning up port Global Net, LLC
- [VOPRadius] (Interim Processing) Cleaning up port... Global Net, LLC
- [VOPRadius] (Interim Processing) Cleaning up ... Brad Johnson
- [VOPRadius] (Interim Processing) Cleaning... sysop
- [VOPRadius] (Interim Processing) Cle... Brad Johnson
- [VOPRadius] (Interim Processing) Cle... Global Net, LLC
- Brad Johnson
