Chrissirhc
Programmer
#
# Clean out old log files.
#
30 18 * * 0-6 ( /usr/bin/find /tmp -name '*log*' -user me -mtime +7 -print | xargs rm ) > /dev/null 2>&1
#
Is that a good approach? I found it in a crontab.
# Clean out old log files.
#
30 18 * * 0-6 ( /usr/bin/find /tmp -name '*log*' -user me -mtime +7 -print | xargs rm ) > /dev/null 2>&1
#
Is that a good approach? I found it in a crontab.