You are on page 1of 1

Crontab DELETE OLD Log file

[root@server1~]# crontab -e
0 0 * * * find /var/log/syslog-ng/ -mtime +90 -delete > /dev/null 2>&1

You might also like