I've not heard of wrmdbclear before but if you script the following and schedule it nightly, it should keep your database under control.
Code:
wtdbclear.pl -a 20 -lt 86400 > /tmp/wtdbclear_rl.log
wtdbclear.pl -a 20 -et 604800 > /tmp/wtdbclear_er.log
The perl version of wdbclear is more reliable than the standard binary.
Options Explained :
-a is the number of lines to commit after
-l means work on reception log
-e means work on event repository
-t deletes events older than number given (secs)
Yup, just add the lines to a simple shell script.
It shouldn't matter if you use cron or Tivoli Scheduler so long as you are running it on your TEC server.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.