/usr/sbin/tmpwatch -am 1 /tmp/nginx_client not cleaning nginx temporary files
- by valter
I installed nginxcp (A nginx plugin for cpanel).
They recommend to add the following cron job to clean the temp files.
0 */1 * * * /usr/sbin/tmpwatch -am 1 /tmp/nginx_client
But it does't work.
Even running the command /usr/sbin/tmpwatch -am 1 /tmp/nginx_client nothing happens. None of the files are being removed.
The only strange thing I noticed, is that all tmp files that are being stored at /tmp/nginx_client belongs to nobody nobody.
What am I doing wrong?
thanks.