• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Other Script for deleting Logs in the log folder


New Member

Messages: 2

Hi guys I need all of your help,
Iam looking for a script for Cron, which can I use for automising the purifing of the DNS-logs in the log folder of my companies freebsd DNS server. Iam new to Freebsd coming from linux so please have some indulgence with me. :)


Staff member

Thanks: 5,875
Best answers: 6
Messages: 26,473

Yep, that would be the preferred solution, it has the same function as Linux' logrotate. Our newsyslog(8) can, despite its name, also rotate non-syslog logs.