I discovered that on two of our servers the 110.clean-tmps periodic script isn't doing it's job. One of these servers is FreeBSD 6.3, the other is 7.2.
The following is written in /etc/periodic.conf:
However, the files in /var/virusmails date back to 2008. I tried running the /etc/periodic/daily/110.clean-tmps script manually - it runs but still doesn't clean up any files.
On other servers, where I don't have such problem, I have only one directory set in daily_clean_tmps_dirs. This leads me to think that I'm making a mistake in specifying multiple directories here, but there are many examples on the web where this is exactly how it's done. The manpage just says it should be a 'list of directories'. What am I doing wrong?
The following is written in /etc/periodic.conf:
Code:
daily_clean_tmps_enable="YES"
daily_clean_tmps_dirs="/var/virusmails /var/amavis/tmp"
daily_clean_tmps_days="14"
However, the files in /var/virusmails date back to 2008. I tried running the /etc/periodic/daily/110.clean-tmps script manually - it runs but still doesn't clean up any files.
On other servers, where I don't have such problem, I have only one directory set in daily_clean_tmps_dirs. This leads me to think that I'm making a mistake in specifying multiple directories here, but there are many examples on the web where this is exactly how it's done. The manpage just says it should be a 'list of directories'. What am I doing wrong?