add tmpwatch section to FAQ
[spider.git] / sgml / spiderFAQ.sgml
index 2dc5a0a51a431a6525882c96938aa3778c614329..c60216c7f53e517e4e3b6aace143431f66c35c61 100644 (file)
@@ -6,7 +6,7 @@
 
 <title>The DXSpider FAQ 
 <author>Ian Maude, G0VGS, (ianmaude@btinternet.com)
-<date>Version 0.3 January 2001
+<date>Version 0.4 March 2001
 <abstract>
 A reference for SysOps of the DXSpider DXCluster program.
 </abstract>
@@ -111,5 +111,15 @@ forward.pl and edit it to meet your requirements.  You will need to issue
 the command <em>load/forward</em> or restart Spider for the changes to 
 take effect.
 
+<sect1>How can I automatically limit the amount of debug logfiles that are stored?
+
+<P>
+Use the tmpwatch command.  Add a line in /etc/cron.daily like this ...
+
+<tscreen><verb>
+/usr/sbin/tmpwatch -f 240 /spider/data/debug
+</verb></tscreen>
+
+This will limit your debug data down to the last 10 days
 
 </article>