I need to delete the logs using logadm command. we have application that generates to logs automatically with different dates every day like error_20121121.log and so on... using lodadm can i delete the logs of last 10 days using crontabentry? i am confuse here becasue if we use logadm what logfile should i give logadm /var/app/logs/....? because it has same logfiles with different dates. can any one suggest?
↧