X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=html%2FspiderFAQ-2.html;h=125b9d334792f37cda684b36850075ab1417ceb3;hb=5405fc43af4410805160aed50df04bc5fc9df869;hp=0f607e86c22bb4ec242fd6cd0ecf81eb654abe5b;hpb=9e52888ccf4cfd4ba68b5a1c0d66b79550dff583;p=spider.git diff --git a/html/spiderFAQ-2.html b/html/spiderFAQ-2.html index 0f607e86..125b9d33 100644 --- a/html/spiderFAQ-2.html +++ b/html/spiderFAQ-2.html @@ -71,13 +71,14 @@ take effect.

2.5 How can I automatically limit the amount of debug logfiles that are stored?

-

Use the tmpwatch command. Add a line in /etc/cron.daily like this ... +

Use the tmpwatch command. Create a file in /etc/cron.daily/ containing the line ...

 /usr/sbin/tmpwatch -f 240 /spider/data/debug
 
+

Remember to make it executable!

This will limit your debug data down to the last 10 days