I installed nginxcp on my server and they recommend to add the following cron:
0 */1 * * * /usr/sbin/tmpwatch -am 1 /tmp/nginx_client
I already added it to var/spool/cron and restarted crond service, but it just doesnt work.
From time to time, I need to run the command /usr/sbin/tmpwatch -am 1 /tmp/nginx_client on ssh to clear the tmp.
Any idea, why the command is not running from the crontab?
/var/spool...?crontab -ehandles this for you, don't do it manually. – Sven Apr 26 '13 at 12:540 * * * *as well. – Sajan Parikh Apr 27 '13 at 21:44